not, ~, pcrnot¶
Result = not expression # (pcrcalc) Result = ~ expression # (python) Result = pcrnot(expression) # (python)
spatial, non spatial boolean
dimension of expression boolean
The cell values on expression are interpreted as Boolean values; where 1 is TRUE and 0 is FALSE. For each cell the Boolean not evaluation is performed: if expression has a cell value 1 (TRUE) Result has a cell value 0 (FALSE) on the corresponding cell; if expression has cell value 0 (FALSE) Result has cell value 1 (TRUE).
A cell with missing value on expression is assigned a missing value on Result.
This operation belongs to the group of Boolean operators
- • pcrcalcbindingResult = Result.map;Expr1 = Expr1.map;initialreport Result = not Expr1;• pythonExpr1 = readmap(“Expr1.map”)Result = ~ Expr1