Question about DEM color scheme

06-22-2021 12:07 PM
Labels (1)
New Contributor


I have a Copernicus DEM and I would like to repeat a color ramp every 10 meters, rather than applying one color ramp to the entire data range. I.e., a single color ramp would be used for elevation data between 0 and 10m, then reapplied for 10 to 20m, 20 to 30m, etc. 

Could someone tell me how to do this? 

Thank you, in advance, for your time and assistance. 

Tags (2)
0 Kudos
1 Reply
Esri Frequent Contributor

If I understand your question correctly, you are wishing for each grouping of 0-10, 10-20, 20-30 to have the same color ramp vs. across the entire range of values.  I was able to do this using the Raster Calculator to create "groups" of raster datasets of 0-500, 500-1000, 1000-1500, 1500-2000 and 2000-2500 using a CON function to create each raster dataset stored in a GDB.  You could also use Raster Functions to do the same thing so as to not create new raster datasets.  An example of the CON function use is as follows:

Con(("OlympicElev_01.img" > 2000) & ("OlympicElev_01.img" <= 2500), "OlympicElev_01.img")

What this does is "select" those raster cells between 2000 and 2500 in this example and if the cell is TRUE, then it gets the original cell value.  If it's FALSE, then it's set as NULL.

See my graphic below for my view of ArcGIS Pro, the raster datasets and the the Raster Calculator.


0 Kudos