areamaximum

areamaximum

Maximum cell value within an area

Result = areamaximum(expression, areaclass)
expression
spatial ordinal, scalar
areaclass
spatial boolean, nominal, ordinal
Result
spatial type of expression

Operation

areaclass Identifies the class to which a cell belongs: cells with corresponding values on areaclass are member of a separate class. For each separate class the maximum expression value of the cells belonging to that class is determined. This value is assigned to all cells belonging to that class. This is done for all classes and saved as Result.

Notes

A cell with a missing value areaclass is assigned a missing value on Result at the corresponding cell.

Group

This operation belongs to the group of Area operators

Examples

  1. • pcrcalc
    binding
    Result = Result.map;
    Class = Class.map;
    Expr = Expr.map;
    initial
    report Result = areamaximum( Expr, Class);

    • python
    Class = readmap(“Class.map”)
    Expr = readmap(“Expr.map”)
    Result = areamaximum( Expr, Class)
    Result.map Class.map Expr.map
    _images/areamaximum_Result.png _images/areaarea_Class.png _images/areamaximum_Expr.png

Table Of Contents

Previous topic

areamajority

Next topic

areaminimum