Conditional geoprocessing functions

Spatial Analyst のライセンスで利用可能。

Image Analyst ライセンスで利用できます。

条件ジオプロセシング機能では、入力値の条件に基づいて出力値を制御できます。 適用できる条件には、属性検索によるものと、リスト内の条件ステートメントにおける順番に基づいたものの 2 種類があります。

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.

使用可能なジオプロセシング機能とその簡単な説明を次の表に示します。

Geoprocessing FunctionDescription

Con

入力ラスターのそれぞれの入力セルに対して if/else 条件の評価を実行します。

Pick

ポジション ラスターの値を使用して、入力ラスターのリストの中で出力セル値になるラスターを決定します。

Set Null

Set Null は、指定した条件に基づいて指定のセル位置を NoData に設定します。 条件評価が True の場合は NoData、False の場合は別のラスターで指定した値を返します。

Geoprocessing functions in the Conditional category

関連トピック