Returns the pixel area (square of the pixel size) of a raster map or a georeference.
Syntax
PIXAREA(RasterMap)
PIXAREA(GeoReference.grf)
Input
When used on raster maps:
RasterMap | is a raster map |
When used on georeferences:
GeoReference.grf | is a georeference |
Output
PIXAREA returns: | a value |
Domain: | system domain Value |
Note:
For georeferences which are not a georeference corners, an approximation of the pixel size is returned.
Tips:
Usable in
Simple calculators, MapCalc, TabCalc
Examples
Pocket line calculator examples:
? PIXAREA(DEM) |
returns the pixel area of a raster map DEM, e.g. 400 |
? PIXAREA(TM.grf) | returns the pixel area of a georeference TM, e.g. 934.97 |
MapCalc example:
Suppose map InMap has a pixel size of 20.
OutMap = InMap * PIXAREA(InMap)
InMap |
OutMap |
||||||||||||||||||
|
|
TabCalc example:
OutCol = InCol * PIXAREA(InMap)
InCol |
OutCol |
10 |
4000 |
35 |
14000 |
20 |
8000 |
35 |
14000 |
15 |
6000 |
40 |
16000 |
? |
? |
40 |
16000 |
30 |
12000 |
See also:
MAPMAX | PIXSIZE |
MAPMIN | TBLRECS |
MAPROWS | |
MAPCOLS |