Map and Table Calculation

MAPROWS( ) function

Returns the number of rows of a raster map.

Syntax

MAPROWS(RasterMap)

Input

RasterMap is a raster map

Output

MAPROWS returns: a value
Domain: system domain Value

Tips:

Usable in

Simple calculators, MapCalc, TabCalc

Examples

Pocket line calculator examples:

? MAPROWS(DEM)

returns the number of rows of raster map DEM, e.g. 932

MapCalc example:

OutMap = MAPROWS(InMap)

 

InMap

OutMap

10 35 20
35 15 40
? 40 30
3 3 3
3 3 3
3 3 3

TabCalc example:

OutCol = MAPROWS(InMap)

 

OutCol

3

3

3

3

3

3

3

3

3

See also:

MAPMAX PIXAREA
MAPMIN TBLRECS
MAPCOLS TBLCOLS
PIXSIZE TBLVALUE