Conditional geoprocessing functions

Mit der Spatial Analyst-Lizenz verfügbar.

Mit der Image Analyst-Lizenz verfügbar.

Die konditionalen Geoverarbeitungsfunktionen ermöglichen Ihnen die Steuerung der Ausgabewerte anhand der für die Eingabewerte geltenden Bedingungen. Es können zwei verschiedene Typen von Bedingungen angewendet werden: entweder Abfragen zu den Attributen oder eine Bedingung, die auf der Position der bedingten Anweisung in einer Liste beruht.

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 ten, return one; 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 two, 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 to provide the output value from, based on the value of the position input.

In der folgenden Tabelle werden die verfügbaren Geoverarbeitungsfunktionen aufgeführt und kurz beschrieben.

Geoprocessing FunctionDescription

Con

Wertet die einzelnen Eingabezellen eines Eingabe-Rasters anhand von If-Else-Bedingungen aus.

Pick

Anhand des Wertes eines Positions-Rasters wird bestimmt, aus welchem Raster in einer Liste von Eingabe-Rastern der Ausgabe-Zellenwert bezogen wird.

Set Null

"Auf NULL setzen" legt für identifizierte Zellpositionen auf Grundlage eines angegebenen Kriteriums den Wert "NoData" fest. "NoData" wird zurückgegeben, wenn eine Bedingungsauswertung "true" (wahr) ergibt, und ein durch ein anderes Raster angegebener Wert wird zurückgegeben, wenn die Bedingungsauswertung "false" (falsch) ergibt.

Geoprocessing functions in the Conditional category

Verwandte Themen