Build Raster Attribute Table (Data Management)

This ArcGIS 2.8 documentation has been archived and is no longer updated. Content and links may be outdated. See the latest documentation.

Summary

Create or update a table with information about the classes in your raster datasets. This is used primarily with discrete data.

Usage

  • To delete an existing table and create a new one, check Overwrite (overwrite = "OVERWRITE" in Python). A new raster attribute table will be created, and the old one will be deleted.

  • If you have an existing table and you do not check Overwrite, the table will be updated. No fields will be deleted, but the values in the table will be up to date.

  • You cannot build a raster attribute table for a raster dataset that is a pixel type of 32-bit floating point.

  • You can generate an attribute table for a multidimensional dataset. When using this tool on a multidimensional mosaic dataset or a multidimensional raster, the output table will contain the pixel count of each class in each slice. The Count_S0 field will contain the pixel count of each class in the first slice of the dataset. The Count_S1 field will contain the pixel count of each class in the second slice, and so on. The variables must contain categorical data such as land cover.

Parameters

LabelExplanationData Type
Input Raster

The input raster dataset to which a table will be added. This tool will not run if the pixel type is floating point or double precision.

Raster Layer
Overwrite
(Optional)

Specifies whether the existing table will be overwritten.

  • NoneThe existing raster attribute table will not be overwritten, and any edits will be appended to the current table. This is the default.
  • OverwriteThe existing raster attribute table will be overwritten and a new raster attribute table will be created.
Boolean

Derived Output

LabelExplanationData Type
Updated Input Raster

The output raster dataset.

Raster Layer

Environments

This tool does not use any geoprocessing environments.

Licensing information

  • Basic: Yes
  • Standard: Yes
  • Advanced: Yes

Related topics