Delete Colormap (Data Management) |
|
Release 9.2
Last modified November 29, 2010 |
![]() ![]() ![]() Print all topics in : "Tools" |
Removes a colormap that is associated with a raster dataset.
Usage tips
This tool removes a colormap from a raster dataset.
This tool will not work when the colormap is internally stored in the attribute table of an IMG or TIFF dataset. If the attribute table contains the fields "Red", "Green", and "Blue", that means this tool cannot be used.
The following environment setting affects this tool: current workspace.
Command line syntax
An overview of the Command Line window
Deletecolormap_management <in_raster>
Parameter | Explanation | Data Type |
<in_raster> |
The raster dataset that you want the colormap removed from. |
Raster Layer |
Deletecolormap "c:/redlands_data/Redlands.tif"
Scripting syntax
About getting started with writing geoprocessing scripts
Deletecolormap_management (in_raster)
Parameter | Explanation | Data Type |
in_raster (Required) |
The raster dataset that you want the colormap removed from. |
Raster Layer |
# Create the geoprocessing object import arcgisscripting gp = arcgisscripting.create() gp.workspace = "c:/redlands_data" gp.deletecolormap_management("redlands.tif")