Select to view content in your preferred language

elevation from colormap

317
3
03-29-2024 08:37 AM
Labels (2)
teakplantation
New Contributor III

I have an old scanned map with includes elevation contours as well as elevation values colored according to colormap (similar to the example map below). 

What I try to achieve is to assign a specific elevation to each color and then subsequently populate the entire map with the corresponding elevation values; so in essence I want to recreate the map from the colors instead of digitizing the contours by hand.

Any suggestions what ArcGIS Pro tool has such a capability?

 

map_example.jpg

3 Replies
BobBooth1
Esri Contributor

You would probably do better to use existing ArcGIS Online services, such as:

https://www.arcgis.com/home/item.html?id=51ca3ce6a16d4080ad955dacd6dd2fe2

https://www.esri.com/arcgis-blog/products/arcgis-living-atlas/announcements/high-resolution-data-upd...

You can also download terrain data if you need a local copy, for example, search on SRTM.

 

0 Kudos
teakplantation
New Contributor III

Hi Bob, unfortunately this doesn't work for me. The map is generated from an interpretation of a subsurface aquifer, hence not publicly accessible elevation data.

0 Kudos
BobBooth1
Esri Contributor

Ah, I see. That's too bad. 

I don't think there is a straightforward way to do this. You might create an array of points over the surface and sample the raster color values, then add a column for elevation and create a Python field calculation that would convert specific RGB values to match your estimated elevations for those colors.

You could use the Fishnet tool to create polygons, and then extract the centroids of those.

https://pro.arcgis.com/en/pro-app/3.1/tool-reference/data-management/how-create-fishnet-works.htm

https://support.esri.com/en-us/knowledge-base/how-to-find-the-centroid-of-polygons-using-calculate-g...

Then use Sample to get the raster values at those points:

https://pro.arcgis.com/en/pro-app/3.1/tool-reference/spatial-analyst/sample.htm

Add a field:

https://pro.arcgis.com/en/pro-app/latest/help/data/geodatabases/overview/create-modify-and-delete-fi...

Calculate new field values based on RGB values:

https://pro.arcgis.com/en/pro-app/3.1/tool-reference/data-management/calculate-field-examples.htm

 

0 Kudos