HOW TO

Create a colormap index within the attribute table of an integer raster

Last Published: April 25, 2020

Summary

Instructions provided describe how to create a colormap index within the attribute table of an integer raster.

Procedure



  1. Create a value attribute table (VAT) for the raster, if it does not already possess a VAT. This can be done using the 'Build Raster Attribute Table' tool in ArcToolbox.
  2. Add three new fields of type double to the raster attribute table, and name them 'Red', 'Green', and 'Blue' respectively.
  3. Start an edit session with the target workspace set to that of the raster.
  4. For each record, enter the desired RGB value in the fields named 'Red', 'Green', and 'Blue' respectively. These values need to be expressed as a percentage of 255, so a value of 50 would be 0.196078 (50/255 = 0.196078).
    [O-Image] VAT
  5. Stop the editing session and save the edits to preserve the changes.
  6. Remove the raster layer from ArcMap's table of contents, then reload the raster back into ArcMap so the colormap can be recognized.
  7. Right-click on the raster in the table of contents and select Properties > Symbology tab.
  8. The colormap should now be available in the list of rendering options. Select the colormap renderer and click 'OK' to display the raster using the newly created colormap index.

Article ID:000010152

Software:
  • ArcMap 9 x

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options

Related Information

Discover more on this topic