Select to view content in your preferred language

Auto Color Code Rasters

599
2
11-09-2010 09:05 AM
RichardSullivan
Emerging Contributor
Okay, so now I have hundreds of Rasters each comprising a stretch of beach (see my earlier post: http://forums.arcgis.com/threads/16896-Divide-a-raster-even-sections?p=53157&posted=1#post53157 ).

I would like to assign each one color based on the highest elevation in each raster.  Rather than go through by hand and classify based on value, is there a script or method to automate the process?

For example, if the highest point in a raster is below 2 meters, I want it to be blue.  If the highest point is above 9 meters, I want it to be yellow.  So on and so forth... 

Any thoughts on how to do this?  Can you reclassify a bulk set of rasters all at once?

-Thanks
0 Kudos
2 Replies
RichardSullivan
Emerging Contributor
Here's a thought...  What about a conditional statement about contour lines that cross rasters?  Can I set up a rule to assign one color to a raster if it is crossed by a contour line of a certain value?

Example, if the raster is crossed by the 5m contour, it's red.  If crossed by the 2.5, green.

Now, how might I go about doing this for hundreds of rasters at once?
0 Kudos
RobertBerger
Occasional Contributor
Hi again,

Is your data integer or floating point? If you have integer data within 16 bit range then you might be able to use colormaps (assuming you want color the pixel value and not the whole scene based on the min/max values in the scene?).

Robert
0 Kudos