Delete Raster Attribute Table (Data Management) |
|
Release 9.2
Last modified November 29, 2010 |
![]() ![]() ![]() Print all topics in : "Tools" |
Removes the raster attribute table that is associated with a raster dataset. Since raster attribute tables can only be built on single-band raster datasets, this tool is only valid for single-band rasters dataset.
Usage tips
This tool will remove a raster attribute table from a raster dataset.
The input raster dataset can only have a single band.
The following environment setting affects this tool: current workspace.
Command line syntax
An overview of the Command Line window
Deleterasterattributetable_management <in_raster>
Parameter | Explanation | Data Type |
<in_raster> |
The raster dataset you want the raster attribute table removed from. The raster dataset must be a single-band raster dataset. |
Raster Layer |
Deleterasterattributetable c:/Redlands_data/Redlands.tif
Scripting syntax
About getting started with writing geoprocessing scripts
Deleterasterattributetable_management (in_raster)
Parameter | Explanation | Data Type |
in_raster (Required) |
The raster dataset you want the raster attribute table removed from. The raster dataset must be a single-band raster dataset. |
Raster Layer |
# Create the geoprocessing object import arcgisscripting gp = arcgisscripting.create() gp.workspace = "c:/redlands_data" gp.deleterasterattributetable_management("redlands.tif ")