maparea

maparea

Total map area

Result = maparea(expression)
expression
spatial boolean, nominal, ordinal, scalar, directional, ldd
Result
non spatial scalar

Options

--unittrue or --unitcell

--unittrue
area is computed in true area (default)
--unitcell
area is computed in number of cells

Operation

Sums the area of the non missing value cells on expression and assigns this total area to Result (non spatial).

Group

This operation belongs to the group of Map operators

Examples

  1. • pcrcalc
    binding
    Result = Result.map;
    Expr = Expr.map;
    initial
    report Result = maparea(Expr);

    • python
    Expr = readmap(“Expr.map”)
    Result = maparea(Expr)

    Result.map

    Expr.map

    _images/maparea_Result.png _images/maparea_Expr.png

Table Of Contents

Previous topic

lt or <

Next topic

mapmaximum