Is there a way to return the value of ground height in the popup of a point layer? Only the x,y coordinates are known in the point layer (2D) but from this we should be able to get the value from the ESRI "terrain 3D" value?
I would like this to be available in both a Map Viewer and a Scene Viewer
thanks
Hi Joe Nunn ,
As far as I know this is not possible yet. I have heard that performing a REST call will be possible in the feature. With this you will be able to request the elevation for any point.
To give you an example of how I assume this will look, see below a URL to query the NED30m global elevation service:
If you look at the page using the HTML format (change last parameter of URL), you will see this:
The resulting json can be used to unpack the value you are interested in (in this case the value "17.2376")
Hi Xander - going a step forward is there a way of using a similar REST call in arcade in a popup in AGOL?
I had read that arcade can reference other layers: Pump up Your Pop-ups With Arcade FeatureSets and the Living Atlas
So imagine you could do something similar using a Terrain raster layer as well?
Thanks
Joe
Unfortunately, terrain layer, imagery layer, tiled layers are all not supported at this time. You can use content from the living atlas, but they will have to be feature layers.
Thanks Xander - thats a shame there isn't a way to use those yet. I know if done outside of AGOL it would be an easy task i would think. Have done something similar in google maps api years ago that returns the elevation at a location.
Hi Joe Nunn ,
I agree that being able to do analysis in Arcade using raster layers would be pretty cool and being able to do REST calls from Arcade will also help a lot to accomplish certain workflows. Could you create an idea for this: https://community.esri.com/community/arcgis-ideas (please post back when you do).
I would certainly give my vote to this!
Remember to vote your own idea up. I just voted.