An overview of the Conditional math toolset

Disponible avec une licence Spatial Analyst.

Disponible avec une licence Image Analyst.

Les outils Conditions permettent de contrôler les valeurs en sortie en fonction de conditions imposées aux valeurs en entrée. Les conditions applicables peuvent prendre la forme d'une requête attributaire ou être fondées sur la position de l'instruction conditionnelle dans une liste.

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 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 two, return the value specified by the second raster in the list, and so on.

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

The following table lists the tools that perform conditional analysis and provides a brief description of each.

ToolDescription

Con

Exécute une évaluation conditionnelle if/else sur chacune des cellules en entrée d'un raster en entrée.

Pick

La valeur d'un raster de position est utilisée pour déterminer de quel raster dans une liste de rasters en entrée la valeur de cellule en sortie sera obtenue.

Set Null

L’outil SetNull définit les emplacements de cellule identifiés sur la valeur NoData en fonction des critères indiqués. Il renvoie une valeur NoData si une évaluation conditionnelle est vraie et renvoie la valeur spécifiée par un autre raster si celle-ci est fausse.

Tools in the Conditional toolset

Rubriques connexes