Conditional Math geoprocessing functions

Disponible con licencia de Image Analyst.

Disponible con una licencia de Spatial Analyst.

The Conditional geoprocessing functions allow you to control the output values based on the conditions placed on the input raster values. The conditions that can be applied are of two types, those being either queries on the attributes or a condition based on the position of the conditional statement in a list.

The attribute query geoprocessing functions 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 10, return 1; otherwise, return 100.

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

The positional condition requires an input parameter (either a raster or constant) specifying the position of the conditional statement (either a raster or constant) that should be used for the output. For example, if the value for a specified cell of the input raster is 1, return the value specified by the first input in the list; if a cell in the input raster is 2, return the value specified by the second raster in the list, and so on.

  • The Pick geoprocessing function allows you to specify a list of inputs from which to provide the output value, based on the value of the position input.

Geoprocessing functionDescription

Con

Realiza una evaluación condicional if/else en cada una de las celdas de entrada de un ráster de entrada.

Pick

El valor de un ráster de posición se utiliza para determinar desde qué ráster de una lista de rásteres de entrada se obtendrá el valor de la celda de salida.

Set Null

Establecer nulos establece las ubicaciones de celda identificadas en NoData según los criterios especificados. Devuelve NoData si una evaluación condicional es verdadera y devuelve un valor especificado por otro ráster si es falsa.