Our application must perform some height calculations (and is not connected to the Internet), as a result, we need to determine the highest height for a given polygon. How can we query DTED offline using the ArcGIS.Net SDK?
Here is the little progress I made ...
Option 1 - Use Esri.ArcGISRuntime.Controls.FileElevationSource
So, to use FileElevationSource, it turns out that it must be associated with a SceneView. We used MapView, so I added to SceneVeiw and linked FileElevationSource
sceneView.Scene.Surface.Add(elevationSource);
When I'm tired of accessing the source of exaltation, I get AccessViolation
elevationSource.GetElevationAsync(location as MapPoint).Result
Option 2 - Some Ways to Use LocalServer
Doco states that ArcGIS Runtime LocalServer supports several raster formats, including DTED.
Local-ArcGIS Runtime SDK for .NET raster server support.
Therefore, I used ArcMap to create a map package file with DTED files inside, but I don’t know how to use Local Sever to request a package file
Ultimately, we want:
- Upload multiple DTED files
- Request for a given lat / lon that the height at this point
Any help would be greatly appreciated!
Please note that we are using the ArcGIS.Net SDK v10.2.7
source
share