Show Navigation | Hide Navigation
You are here:
Geoprocessing tool reference > Data Management toolbox > Raster toolset > Tools

Add Colormap (Data Management)

Release 9.2
Last modified November 29, 2010
E-mail This Topic Printable Version Give Us Feedback

Print all topics in : "Tools"


Related Topics

Allows you to add a color map to a raster dataset, if it does not already exist. If the color map already exists, it will replace the color map with the one specified.


Usage tips

Command line syntax
An overview of the Command Line window
AddColormap_management <in_raster> <in_template_raster>

Parameter Explanation Data Type
<in_raster>

The input raster dataset to which you want to add a color map.

Raster Layer
<in_template_raster>

A raster dataset with a color map that will be applied to the input raster dataset.

Raster Layer
Data types for geoprocessing tool parameters


Command line example

Addcolormap c:/redlands_data/Redlands.tif c:/Redlands_data/Redlands_colormap.tif

Scripting syntax
About getting started with writing geoprocessing scripts
AddColormap_management (in_raster, in_template_raster)

Parameter Explanation Data Type
in_raster (Required)

The input raster dataset to which you want to add a color map.

Raster Layer
in_template_raster (Required)

A raster dataset with a color map that will be applied to the input raster dataset.

Raster Layer

Data types for geoprocessing tool parameters


Script example

#Create the geoprocessing object
import arcgisscripting
gp = arcgisscripting.create()

gp.workspace = "c:/redlands_data"
gp.addcolormap_management("redlands.tif","redlands_colormap.tif")

Please visit the Feedback page to comment or give suggestions on ArcGIS Desktop Help.
Copyright © Environmental Systems Research Institute, Inc.