[GIS] Read dted with gdal in c++

dtedgdal

I need to find the elevation of lat and long point using a dted map. I read that gdal can read this kind of map. I didn't find a tutorial. I read about gdal here but it's not very "user-friendly". Can you give me any code snippet (only an hint) to read a single value of a dted map?

Best Answer

I have written GDAL programs using C++ and C#. It is incredibly easy to use.

I advise you to download the source code. You'll find the source for gdallocationinfo, which is their command-line tool that does exactly what you want. You can use it as the lever to get going.

If using gdallocationinfo on the command line won't work for you.

-reilly.