我需要得到一个纬度和经度位置的高度(地面高度)。
我还没有找到任何能够做到这一点的东西。
有任何想法吗?
谢谢!
可以使用航天飞机雷达地形任务(SRTM)数据文件,可以通过这个网址获取:https ://firmware.ardupilot.org/SRTM/ 本数据来自: http ://scenery.flightgear.org/geodata/ fgx/elevation/srtm_filled/ (非常感谢 flightgear 和 USGS 提供此数据集)
对于 c# dll 库,请参见:https ://github.com/javadsadi/SRTM
USGS(美国地质调查局)也为此提供了一个 API,其中包括一个 WSDL。http://cumulus.cr.usgs.gov/service_description_elevation.php
将 BING MAP SDK 与空间服务 (REST) 一起 使用
我会使用Google Elevation API。在 C# 中,使用 aWebClient
请求 URL,例如:http ://maps.googleapis.com/maps/api/elevation/json?locations=39.7391536,-104.9847034|36.455556,-116.866667&sensor=true
或下载.Net 库。