Select to view content in your preferred language

Query Terrain for Elevation Value at a Point

65
0
Wednesday
Labels (1)
jacobgqc
Emerging Contributor

Hello,

I need help getting elevation values out of the elevation and/or elevation3d World Elevation Terrain image server. I've seen other examples and have been able to make some basic calls, but I don't trust that the results are accurate.

Here's a sample URL that I got from the graphical query builder:

https://elevation3d.arcgis.com/arcgis/rest/services/WorldElevation3D/Terrain3D/ImageServer/identify?... 

This returns a value that is close to what I expect, but when I begin processing more data points, I'm getting the exact same value back every time. The data points are close, but not close enough to return the same elevation values. Indeed, when I perform hit tests in a custom elevation checker web application, I can see variances in the centimeter range.

Further, I've plugged some of these sample elevations back into ArcGIS Pro alongside points that are "clamped to ground", and the elevations coming out of the image server are several meters higher than the points that are clamped to the terrain. I was expecting them to match, assuming I'm using the REST endpoint that corresponds to the World Terrain being used in ArcGIS Pro.

Functionally, I would like to be able to programmatically process sets of point data to add elevation values without the necessity of manually running data through ArcGIS.

Is this possible?
Am I using the right endpoint(s)?
What's the difference between the REST image servers https://elevation.arcgis.com/arcgis/rest/services/WorldElevation/Terrain/ImageServer/identify  and https://elevation3d.arcgis.com/arcgis/rest/services/WorldElevation3D/Terrain3D/ImageServer/identify ?
Can I find any REST or other programmatic solution that will get me results similar to ArcGIS's clamp to ground?

Thanks,
Jake

0 Kudos
0 Replies