Search code examples
c#latitude-longitudealtitude

c# Get Altitude at position


I need to get the altitude of a latitude and longitude position (ground altitude).

I haven't found anything able to do this.

Any ideas?

Thanks!


Solution

  • you can use Shuttle Radar Topography Mission (SRTM) data files, which may be obtained through this URL: https://firmware.ardupilot.org/SRTM/ This data is from: http://scenery.flightgear.org/geodata/fgx/elevation/srtm_filled/ (many thanks to flightgear and to the USGS for providing this data set)

    for c# dll library see : https://github.com/javadsadi/SRTM