Conditional processing
Conditional processing
makes it possible for you to specify which action to take, depending on the
conditions. You can specify the conditions that must be evaluated as true
before an action should be taken, as well as specify appropriate actions to
take when the conditions are evaluated as false. The traditional If-Then-Else
statement is an example of a conditional statement.
In this example, each
input cell is tested for the condition of having a slope less that 15. If the
cell tests true, a value of 100 is assigned to the output cell. If the cell
tests false, a value of NoData is assigned to the
output cell. The result can be used as an analysis mask to exclude undesirable
areas from an analysis.
Conditional processing is
especially useful for creating analysis masks. For example, in a wildfire
prevention and suppression analysis, high-risk areas (true) can be assigned a
value of 100, while lower-risk areas (false) can be assigned a value of NoData.