I am still new to the ArcGIS Runtime SDK for WPF.
My project requires me to get the elevation point offline (local) from a DTED file. I had raster map view using mapview, then I want to get the elevation point when I point the mouse tip on raster map that I view.
This is my code so far:
string parentFolder = @"C:\Data\DTED0"; List<string> files = Directory.EnumerateFiles(parentFolder, "*.dt0", SearchOption.AllDirectories).ToList(); Scene.BaseSurface = new Surface(); RasterElevationSource rasterElevationSource = new RasterElevationSource(files); Scene.BaseSurface.ElevationSources.Add(rasterElevationSource);
Do I need to create new user control for sceneview or just use the that i read raster map on mapview?