Select to view content in your preferred language

How do I get the Z value of a MapPoint from an elevation surface?

5620
11
04-28-2016 11:57 AM
JosephMcCausland
Esri Contributor

I'm trying to figure out how to get the elevation at a given MapPoint from a surface.  I'm getting all of my MapPoint values from a MapTool click event.  The Z value is not set at this point.  I have a TIN layer added to my map but can't find how to get the elevation from it.

0 Kudos
11 Replies
by Anonymous User
Not applicable

It doesn't look like you can. That dialog only supports local data.

The team tells me that will be available in 1.4

0 Kudos
TedChapin
Frequent Contributor

My work around is to use System.Net.WebClient to issue an Identify request to the AGOL NED30M elevation surface.  It's slow for lots of points but accurate. I gave the user a progressor dialog so they can see how long it's going to take.  Will look at 1.4 release notes for some capability to query the view's elevation surface.

0 Kudos