Display 2D map but consider heights in calculations

10-23-2017 11:52 PM
New Contributor II


I'm using qml display with c++ logic. I have a 2D map display with MapQuickView which loads a raster map from a tiff file and it works well. Now I want to load a DTM file with heights information so calculations can take the height into consideration. (For example - I want to calculate the line of sight of a certain point in a certain direction).

How can I use this heights info with MapView if at all?? The samples use ElevationSource only in scene views, but then don't see that option todisplay  2D map with rotation, panning, zoom etc.


0 Kudos
1 Reply
Esri Frequent Contributor

You are correct that the elevation sources are for use in 3D only. I wonder if you could create a Geoprocessing Service or Package in Desktop and consume that in Runtime with a GeoprocessingTask? The Line of Sight 3D Analyst Tool sounds promising Line Of Sight—Help | ArcGIS Desktop 

0 Kudos