Overview
This function allows you to remap pixels in a raster based on zones defined in another raster and zone-dependent value mapping defined in a table.
Parameters
Parameter name | Required? | Description |
---|---|---|
Input Raster | Yes | A single-band raster containing pixel values that you would like to remap. |
Zone Raster | No | 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 Thresholds Table | Yes | A table containing at least three fields. It must have 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 ID Field Name | No | The field name, within the Zonal Thresholds Table, that contains the zone ID values. The zone ID values are directly tied to the zone IDs in your zonal raster. It provides 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 | No | The field name containing the minimum value above, which an input pixel gets remapped. If left unspecified, or if the field value is null, pixel values are not tested for minimum. |
Maximum Value Field Name | No | The field name containing the maximum value below, which an input pixel gets remapped. If left unspecified, or if the field value is null, pixel values are not tested for maximum. |
Output Value Field Name | No | The field name containing the target value to which an input pixel gets remapped. If left unspecified, or if the field value is null, remapped pixel values are set to the Default Output Value. |
Background Value | No | The initial pixel value of the output raster, before input pixels are remapped. |
Default Output Value | No | The value that will be assigned to a pixel that does not satisfy any of the conditions set in the Zonal Thresholds Table. This will also be the value of the output pixel if either the Output Value Field Name parameter is left unspecified, or if the output value of the corresponding zonal threshold is left unspecified in the Zonal Thresholds Table. |
Where Clause | No | An optional query applied on the Zonal Thresholds Table. If you were using the table above as an example, the query would be Variable1 = 'bare earth' AND Variable2 = 'California'. |