Attribute Table function

The Attribute Table function allows you to define an attribute table to symbolize a single-band mosaic dataset or raster dataset. This is useful when you want to present imagery that has undergone a classification to land use, such as forest land, wetland, crop land, and urban. Additionally, if your table contains fields named red, green, and blue, then values within those fields will be used like a color map when rendering the image.

The attribute table is referenced when using this function, not stored within the dataset (as with raster datasets that can contain internal attribute tables).

The inputs for this function are the following:

When the dataset is displayed, it can be symbolized based on the table values, and when the pixel is queried using the Identify tool Identify, the table values will be returned.

Recommended steps to apply this function to a mosaic dataset

Steps:
  1. Create a one-band mosaic dataset.

    You must define the number of bands as 1 when creating the mosaic dataset; otherwise, when adding the raster datasets that may have an associated colormap, the mosaic dataset will become a three-band RGB mosaic dataset.

    1. Enter the Mosaic Dataset Name.
    2. Pick a Coordinate System.
    3. Expand the Pixel Properties and type 1 for the Number of Bands.
    4. Click OK to run the tool.
  2. In the Catalog window, right-click the mosaic dataset and click Properties.

    You need to pick some appropriate defaults to generate a mosaic dataset that will resample the pixels appropriately and display as a thematic image by default.

    1. Click the General tab and change the Source Type to Thematic.
      General properties
    2. Click the Defaults tab.
    3. Click the Allowed Compressions Methods ellipse button and uncheck JPEG and LERC, and set the Default Method to LZ77 or None.
    4. Change the Default Resampling Method to Nearest Neighbor.
      Default properties
  3. Add the raster data to the mosaic dataset. Optionally, check the Update Overviews option to build overviews or build overviews when all data is added. If overviews are not built, then calculate the statistics for the mosaic dataset after all the data is added.
  4. In the Catalog window, right-click the mosaic dataset and click Properties.
  5. Click the Functions tab.
  6. Right-click the Mosaic Function and click Insert > Attribute Table Function.
  7. Click the Attribute Table browse button and navigate to:
    • A dbf table
    • A raster dataset that has an attribute table
    • The table used in the Attribute Table function of another mosaic dataset

    A raster attribute table contains pixel value and category name mapping that will be displayed in the table of contents, with OID, VALUE, and COUNT fields and optional Red, Green, and Blue columns that ArcGIS will recognize and use to colorize when rendering.

  8. Click OK to close all the dialog boxes.
    TipTip:

    You may have to remove the mosaic dataset from the table of contents and add it back to the display to see the changes to the properties of the mosaic dataset after adding the function.

Related Topics

5/18/2014