AnsweredAssumed Answered

How to use elevation data in a MapView?

Question asked by oliver.boesche on Feb 16, 2018
Latest reply on Jun 1, 2020 by MBranscomb-esristaff



I currently try to load DTED files in an offline application using the MapView, but found no way to get values from the DTED files. The following example shows my current approach. Rendering the DTED files with a Hillshade-Renderer is successfull. Therefore, it is simple to see where elevation data should be available.


private async void Initialize()


var elevationFileList = new List<string>()







this.surface = new Surface();

var rasterElevation = new RasterElevationSource(elevationFileList);

await rasterElevation.LoadAsync();


await this.surface.LoadAsync();




private async void MapView_GeoViewTapped(object sender, GeoViewInputEventArgs e)


var altitude = await this.surface.GetElevationAsync(e.Location);

System.Console.WriteLine("Altitude:{0}", altitude);


As far as I understand the documentation it is only possible to use the elevation data when it is bound to a surface on a SceneView. I would appreciate every hint to find a solution for this problem.


Best regards,