ArcGIS Desktop

  • ArcGIS Pro
  • ArcMap

  • My Profile
  • Help
  • Sign Out
ArcGIS Desktop

ArcGIS Online

The mapping platform for your organization

ArcGIS Desktop

A complete professional GIS

ArcGIS Enterprise

GIS in your enterprise

ArcGIS for Developers

Tools to build location-aware apps

ArcGIS Solutions

Free template maps and apps for your industry

ArcGIS Marketplace

Get apps and data for your organization

  • Documentation
  • Support
Esri
  • Sign In
user
  • My Profile
  • Sign Out

ArcMap

  • Home
  • Get Started
  • Map
  • Analyze
  • Manage Data
  • Tools
  • Extensions

Attribute Table function

  • Overview
  • Notes
  • Parameters
  • Apply the function to a mosaic dataset

Overview

This function allows you to specify an attribute table that is used to symbolize a single-band mosaic dataset or raster dataset. Use this function to present imagery that has undergone classification into categories, such as land cover, land use, risk factors, or temperature ranges.

Notes

  • This function supports only 8-bit raster inputs.
  • You can apply an existing color attribute table to your single-band categorical raster or mosaic dataset.
  • If your table contains fields named Red, Green, and Blue, values within those fields will be used like a color map when rendering the image.
  • The attribute table is referenced when using this function even when it is not stored in the dataset, such as with raster datasets that contain internal attribute tables.
  • When the dataset is displayed, it can be symbolized based on the table values. When a pixel is queried, the table values will be returned.

Parameters

ParameterDescription

Input Raster

The input raster.

Attribue Table

The input attribute table can come from one of the following:

  • A .dbf file
  • A raster dataset that has an attribute table
  • A table that is used in the Attribute Table function of another mosaic dataset

Apply the function to a mosaic dataset

  1. Create a one-band mosaic dataset.

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

    1. Enter a name in the Mosaic Dataset Name field.
    2. Choose a Coordinate System for the mosaic dataset.
    3. Expand Pixel Properties and type 1 for Number of Bands.
    4. Click OK to run the tool.
  2. In the Catalog window, right-click the mosaic dataset and click Properties. Choose 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 Source Type to Thematic.
      General properties
    2. Click the Defaults tab.
    3. Click the Allowed Compression Methods ellipsis button and uncheck JPEG and LERC, and set Default Method to LZ77 or None.
    4. Change 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, 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 Mosaic Function and click Insert > Attribute Table Function.
  7. Click the Attribute Table browse button and browse to one of the supported attribute tables:
    • A .dbf file
    • 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 Desktop will recognize and use to colorize when rendering.

  8. Click OK to close all the windows.

    Tip:

    You may need 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

  • What are the functions used by a raster or mosaic dataset?
  • Editing function chains in a mosaic dataset
  • Exporting a raster attribute table
  • Raster dataset attribute tables

ArcGIS Desktop

  • Home
  • Documentation
  • Support

ArcGIS Platform

  • ArcGIS Online
  • ArcGIS Desktop
  • ArcGIS Enterprise
  • ArcGIS for Developers
  • ArcGIS Solutions
  • ArcGIS Marketplace

About Esri

  • About Us
  • Careers
  • Esri Blog
  • User Conference
  • Developer Summit
Esri
Tell us what you think.
Copyright © 2019 Esri. | Privacy | Legal