Returns the value, class, or ID of a map Map at a certain (X,Y) Coordinate.
Syntax
MAPVALUE(Map, Coordinate)
Input
Map | is a raster, polygon, segment or point map |
Coordinate | is an (X,Y) coordinate |
Domain type: | a coordinate system |
Output
MAPVALUE returns: | a value, a class name or an ID |
Domain: | same as input Map |
Notes:
Tips:
Usable in
Simple calculators, MapCalc, TabCalc
Examples
Pocket line calculator example:
? MAPVALUE(Tmb1,COORD(800000,8080000,Cochabamba)) |
returns the value of Tmb1 on the location with X-coordinate 800000 and Y-coordinate 8080000, e.g. 50. |
TabCalc examples:
LanduseVal=MAPVALUE(Landuse,Coordinate)
Tmb1Val=MAPVALUE(Tmb1,Coordinate)
Rainfall.mpp opened as table |
Working table |
||||
ID |
Name |
Coordinate |
LanduseVal |
Tmb1Val |
|
1 |
UMSS |
(803429.00, 8074631.00) |
Urban centre |
69 |
|
2 |
Taquina |
(799748.00, 8082415.00) |
Shrubs |
34 |
|
3 |
Laguna Santa Rosa |
(803511.00, 8087422.00) |
Bare rock |
38 |
|
4 |
Laguna Totura |
(801281.00, 8088967.00) |
Grassland |
45 |
|
5 |
PROMIC |
(802613.00, 8080483.00) |
Agrculture |
50 |
|
6 |
Aro Caqua |
(806816.00, 8076585.00) |
Urban periphery |
0 |
|
7 |
Colca Pithua |
(797465.00, 8078352.00) |
Agriculture (irrigated) |
43 |
|
8 |
Cerro MachaMach |
(796346.00, 8087736.00) |
Grassland |
0 |
|
9 |
Laguna WaraWara |
(806042.00, 8085414.00) |
Grassland |
43 |
Notes:
See also:
COORD | MINCRDX | MAPCRD | RASVALUE |
CRDX | MINCRDY | MAPROW | DIST |
CRDY | MAXCRDX | MAPCOL | DIST2 |
TRANSFORM | MAXCRDY |