Returns the minimum value of a value map.
Syntax
MAPMIN(ValueMap)
Input
| ValueMap | is a raster, polygon, segment or point map |
| Domain type: | any Value domain |
Output
| MAPMIN returns: | a value |
| Domain: | system domain Value |
Note:
By default, this function works on raster maps with extension .mpr; you can omit the extension .mpr. To use this function on polygon maps, segment maps or point maps, you need to specify the object's extension (.mpa, .mps or .mpp).
Tips:
Usable in
Simple calculators, MapCalc, TabCalc
Examples
Pocket line calculator examples:
? MAPMIN(DEM) |
returns the minimum value of raster map DEM, e.g. 342 |
? MAPMIN(Rain.mpp) | returns the minimum value of point map Rain, e.g. 17 |
MapCalc example:
OutMap = MAPMIN(InMap)
InMap |
OutMap |
||||||||||||||||||
|
|
OutMap1 = InMap1 - MAPMIN(InMap1)
InMap1 |
OutMap1 |
||||||||||||||||||
|
|
TabCalc example:
OutCol = InCol + MAPMIN(InMap)
InCol |
OutCol |
10 |
20 |
35 |
45 |
20 |
30 |
35 |
45 |
15 |
25 |
40 |
50 |
? |
? |
40 |
50 |
30 |
40 |
See also:
| MAPMAX | PIXAREA |
| MAPROWS | TBLRECS |
| MAPCOLS | |
| PIXSIZE |