Using AGOL World Elevation service to extract elevation values to points?

1136
9
Jump to solution
04-28-2022 12:19 PM
Jay_Gregory
Occasional Contributor III

If I download a DEM, I can use the Extract Values to Points to assign elevation values from that DEM to a point feature class.  Is is possible to do the same thing using AGOL's World Elevation Service?  Is there a geoprocessing tool in Pro that will consume an elevation service?  

In general how would I accomplish this using the World Elevation Service instead of having to download the DEM for my area of interest.  

Tags (2)
0 Kudos
1 Solution

Accepted Solutions
by Anonymous User
Not applicable

Not sure what to do for those specific issues, but it's worth noting that both URLs

https://elevation.arcgis.com/arcgis/rest/services/WorldElevation/Terrain/ImageServer
https://elevation.arcgis.com/arcgis/services/WorldElevation/Terrain/ImageServer

work for adding the Terrain layer to a map.

I've had similar issues in the past - at this point I always use the Make Image Server Layer tool to add the data.

View solution in original post

0 Kudos
9 Replies
Robert_LeClair
Esri Notable Contributor

It seems like you can.  I added the WorldElevation_Terrain Image Service Layer from the Catalog Pane.  Then with a single point, ran the Extract Values to Point GP tool using the WorldElevation_Terrain layer as my Input Raster.  It calculated the correct value.

0 Kudos
Jay_Gregory
Occasional Contributor III

@Robert_LeClair I am having trouble finding that layer.  I have found https://www.arcgis.com/home/item.html?id=0383ba18906149e3bd2a0975a0afdb8e, which does not get added to the map when I try to, even though I'm logged into my AGOL account on Pro.  I have a dataset with about 38k points.  In fact, any elevation surface from Living Atlas I add to the Extract Values to Points GP tool Input Raster parameter in Pro just gets erased in 5 seconds and I'm unable to run the tool. 

Jay_Gregory_0-1651246875709.png

Do I need special permissions or am I doing something incorrectly?

0 Kudos
Robert_LeClair
Esri Notable Contributor

Jay - so I found the layer by going to the Catalog Pane in ArcGIS Pro, click Portal and All Portal.  From there I did a search on WorldElevation_Terrain and sorted by Relevance.  It's the first one in the search results.  Then I added it to my map view and that layer is then usable by the GP tool.


WorldElevation.JPG

0 Kudos
by Anonymous User
Not applicable

Here are some helpful links:

World Elevation Image Services documentation 

Terrain ImageService page (includes service URL) 

It's worth noting that you should explicitly choose the data set and elevation source (ellipsoid, geoid, datum, etc) using a definition query. If you use the Terrain service for analysis the geoprocessing tools will succeed, but ESRI provides no way to messages or metadata etc to determine after the fact which elevation source was actually used for processing.

0 Kudos
Jay_Gregory
Occasional Contributor III

Here is my experience:

I've found that this is the Terrain analysis layer I should be using. 

I am using Pro 2.9, and am signed in with my ArcGIS Online Organizational account.  

I am unable to add that layer to the contents of my map, either by REST url or by searching Living Atlas and adding the item.  The error is "Failed to add data: https://elevation.arcgis.com/arcgis/services/WoldElevation/Terrain/ImageServer".  Note even though there is a "REST" in the endpoint of the item, and that is what I try to add, the error in the url contains no REST.  

If I try to add the item as the Input raster in Extract Values to Points, it thinks for a while then just erases the input.  

If I try to add the item in the Input Image Service for Make Image Server Layer, I get the error "Failed to get raster. Please check if the input parameters is correct". 

Any advice here on how to move forward would be great. 

Thanks!

 

0 Kudos
by Anonymous User
Not applicable

Not sure what to do for those specific issues, but it's worth noting that both URLs

https://elevation.arcgis.com/arcgis/rest/services/WorldElevation/Terrain/ImageServer
https://elevation.arcgis.com/arcgis/services/WorldElevation/Terrain/ImageServer

work for adding the Terrain layer to a map.

I've had similar issues in the past - at this point I always use the Make Image Server Layer tool to add the data.

0 Kudos
Jay_Gregory
Occasional Contributor III

That's my issue - strangely I get errors when trying to add those urls to my map. And can't use Make Image Server Layer tool using them either.  Don't understand what's happening. 

0 Kudos
Jay_Gregory
Occasional Contributor III

Once I signed out of all my ArcGIS Pro connections except my AGOL one it seemed to work.  Strange.

by Anonymous User
Not applicable

Thanks for posting your resolution. The Terrain service (at least for me) has had some sharp edges so hearing others' problems and resolutions is always helpful.

0 Kudos