Skip To Content

Zonal Remap function

Available with Image Server

This function allows you to remap pixels in a raster according to zones defined in another raster, or zone-dependent values defined in a table.

The zone raster, a sample input raster, the output raster, and a zonal threshold table

Notes

This function can be used to reclassify regions within a classified image.

Provide an input to the Zonal Attributes Table parameter by pasting a path to the attribute table.

Parameters

Parameter nameDescription

Value Raster

(Required)

A single-band raster input containing pixel values to remap.

Zone Raster

A single-band raster, where each pixel defines zones associated with a particular location. A zone is defined as all areas in the input that have the same value. The areas do not have to be contiguous.

Zonal Attributes Table

(Required)

A table containing at least three fields. It must have a minimum threshold value, maximum threshold value, and target value. The target value is the field that will contain the remapped value.

The format of the file can be a feature class, feature service, or any table type that ArcGIS supports.

Zone Field

The field name in the Zonal Attributes Table that contains the zone ID values.

The zone ID values are directly tied to the zone IDs in your zonal raster. They provide another level of filtering while remapping. If there is no zone ID associated with a particular record in the table, it will not participate in the remapping.

Minimum Value Field Name

The field name containing the minimum value above which an input pixel is remapped.

If left unspecified, or if the field value is null, pixel values are not tested for minimum.

Maximum Value Field Name

The field name containing the maximum value below which an input pixel is remapped.

If left unspecified, or if the field value is null, pixel values are not tested for maximum.

Output Value Field Name

The field name containing the target value to which an input pixel is remapped.

If left unspecified, or if the field value is null, remapped pixel values are set to Default Output Value.

Background Value

The initial pixel value of the output raster, before input pixels are remapped.

Default Output Value

The value that will be assigned to a pixel that does not satisfy any of the conditions set in the Zonal Attributes Table.

This will also be the value of the output pixel if either the Output Value Field Name parameter is left unspecified or the output value of the corresponding zonal threshold is left unspecified in the Zonal Attributes Table.

Where Clause

An optional query applied on the Zonal Attributes Table.

If you were using the table above as an example, the query would be Variable1 = 'bare earth' AND Variable2 = 'California'.


In this topic
  1. Notes
  2. Parameters