The area of the area to which a cell belongs
Result = areaarea(areaclass)
spatial boolean, nominal, ordinal
area is computed in true area represented by cells (default)
area is computed in number of cells
The class to which a cell belongs is identified by areaclass: all cells with corresponding values on areaclass are grouped and together they form one class. For each separate class the total area that is represented by the cells belonging to that class is calculated (cell value times the total number of classes). This value is assigned to all cells belonging to that class. This is done for all classes and saved as Result.
A cell with missing value on areaclass is assigned a missing value on Result at the corresponding cell.
This operation belongs to the group of Area operators
- • pcrcalc#! –unittruebindingResult = Result.map;Class = Class.map;initialreport Result = areaarea( Class);• pythonsetglobaloption(“unittrue”)Class = readmap(“Class.map”)Result = areaarea( Class)