An overview of the Conditional toolset

Available with Spatial Analyst license.

Available with Image Analyst license.

The Conditional tools allow you to control the output values based on the conditions placed on the input values. The conditions can be based on queries on the attributes.

The attribute query tools explicitly identify all cells that are evaluated as True. These cells can retain their original value, be set to another value, or be set to NoData. The cells that are evaluated as False can be set to a set of values different from the True condition. For example, if the value in the input raster is greater than ten, return one; otherwise, return 100.

  • The Con and Set Null tools can use a where clause as a logical expression to define the attribute query.

The following table lists the available tools and provides a brief description of each.

ToolDescription

Con

Performs a conditional if/else evaluation on each of the input cells of an input raster.

Set Null

Set Null sets identified cell locations to NoData based on a specified criteria. It returns NoData if a conditional evaluation is true, and returns the value specified by another raster if it is false.

Tools in the Conditional toolset