Returns (X,Y) coordinates from separate X coordinates and Y coordinates (and a coordinate system).
Syntax
COORD(X, Y)
COORD(X, Y, CoordinateSystem)
Input
X | is an X coordinate |
Domain type: | any Value domain |
Y | is an Y coordinate |
Domain type: | any Value domain |
CoordinateSystem | is a coordinate system |
Output
COORD returns: | an (X,Y) coordinate |
Domain: | a coordinate system |
Notes:
Tip:
When the definition symbol = is used, a dependent output column is created; when the assignment symbol := is used, the dependency link is immediately broken after the output column has been calculated.
Usable in
Simple calculators, TabCalc, MapCalc
Examples
Pocket line calculator examples:
? TRANSFORM (COORD(803429,8074631,Cochabamba),LATLON) |
||
returns the (X,Y) coordinate according to the X coordinate and the Y coordinate and coordinate system LatLon, i.e. 17�23'36.51"S, 66�08'40.01"W |
TabCalc example:
XYCoord = COORD(X,Y,Cochabamba)
XYLatLon = TRANSFORM(XYCoord,LATLON)
XYLatLon = TRANSFORM(COORD(X,Y,Cochabamba),LATLON)
Point data from the Cochabam area currently using coordinate system Cochabamba (Cochabamba, Bolivia) will be transformed into longitudes and latitudes (LatLon coordinate system).
X |
Y |
XYCoord |
XYLatLon |
803429 |
8074631 |
(803429,8074631) |
17�21'30.66"S, 73�42'04.21"W |
799748 |
8082415 |
(799748,8082415) |
17�19'25.29"S, 66�10'48.48"W |
803511 |
8087422 |
(803511,8087422) |
17�16'40.76"S, 66�08'43.67"W |
801281 |
8088967 |
(801281,8088967) |
17�15'51.61"S, 66�09'59.87"W |
802613 |
8080483 |
(802613,8080483) |
17�20'26.71"S, 66�09'10.57"W |
806816 |
8076585 |
(806816,8076585) |
17�22'31.35"S, 66�06'46.37"W |
797465 |
8078352 |
(797465,8078352) |
17�21'38.43"S, 66�12'03.73"W |
796346 |
8087736 |
(796346, 8087736) |
17�16'33.96"S, 66�12'46.21"W |
806042 |
8085414 |
(806042, 8085414) |
17�17'44.79"S, 66�07'17.04"W |
In words the above mentioned expressions read:
Take the X-component of a coordinate belonging to coordinate system Cochabamba and transform it to a longitude value. Take the Y-component of a coordinate belonging to coordinate system Cochabamba and transform it to a latitude value.
See also:
CRDX | MINCRDX | MAPCRD | RASVALUE |
CRDY | MINCRDY | MAPROW | DIST |
TRANSFORM | MAXCRDX | MAPCOL | DIST2 |
MAXCRDY | MAPVALUE |