Problem retrieving elevation data when using multiple elevation sources

659
1
01-08-2019 03:09 AM
SkyWatch
New Contributor

Does anyone have good experiences using multiple elevation sources in a scene?

We download elevation data as tile packages from the Terrain3D service (https://elevation3d.arcgis.com/arcgis/rest/services/WorldElevation3D/Terrain3D/ImageServer) to make elevation data available offline.

We add multiple elevation sources like below, each covering a limited area:

ArcGISTiledElevationSource elevationSource = new ArcGISTiledElevationSource(new TileCache(pathToFile));
Scene.BaseSurface.ElevationSources.Add(elevationSource);‍‍‍‍‍

 

The ArcGISTiledElevationSource has an extent but a call to Scene.BaseSurface.ElevationSources.GetElevationAsync(mapPoint) returns data outside of the extend. This data has a low resolution with respect to elevation. This behavior could be useful, but when using multiple elevation sources, we experience that the low resolution elevation data outside the extent of one source covers the high resolution elevation data from another elevation source (that is below the first elevation source in scene).

Changing the ordering of the elevation sources does not solve our issues – doing Scene.BaseSurface.ElevationSources.Move(oldIdx, newIdx) sometimes changes the resolution of the data from GetElevationAsync(mapPoint) but not always to we result we expect.

Does anyboby know how to restrict the extent of elevation sources or properly manage the ordering of the elevation sources?

We are using ArcGIS runtime WPF 100.4.0.

Similar questions without answers:

https://community.esri.com/message/759686-java-is-it-possible-to-check-if-elevation-for-given-point-...

https://community.esri.com/message/612783

Tags (1)
0 Kudos
1 Reply
RobBever
New Contributor III

Can you explain how you created the offline elevation data? I'm trying to do this myself and I haven't been able to figure out how to get elevation data I can use offline in TPK form.

Thanks. Sorry I don't have any insight about your question, but I want to do something similar so I'll definitely start testing it myself if I can create the elevation data TPKs, and I'll let you know if I discover anything.

0 Kudos