Purpose
Specifies a coordinate system. When no CoordSys clause is specified, data is assumed to be stored in longitude/latitude form. You can use this clause in the MapBasic window in MapInfo Pro.
Syntax
Syntax1
CoordSys Earth
[ Projection type,
datum,
unitname
[ , origin_longitude ]
[ , origin_latitude ]
[ , standard_parallel_1 [ , standard_parallel_2 ] ]
[ , azimuth ]
[ , scale_factor ]
[ , false_easting ]
[ , false_northing ]
[ , range ] ]
[ Affine Units unitname, A, B, C, D, E, F ]
[ Bounds ( minx, miny) ( maxx, maxy ) ]
Syntax2
CoordSys Nonearth
[ Affine Units unitname, A, B, C, D, E, F ]
Units unitname
Bounds ( minx, miny ) ( maxx, maxy )
Syntax3
CoordSys Layout Units paperunitname
Syntax4
CoordSys Table tablename
Syntax5
CoordSys Window window_id
type is a positive integer value representing which coordinate system to use
datum is a positive integer value identifying which datum to reference
unitname is a string representing a distance unit of measure (for example, ¯m" for meters); for a list of unit names, see Set Distance Units
origin_longitude is a float longitude value, in degrees
origin_latitude is a float latitude value, in degrees
standard_parallel_1 and standard_parallel_2 are float latitude values, in degrees
azimuth is a float angle measurement, in degrees
scale_factor is a float scale factor
range is a float value from 1 to 180, dictating how much of the Earth will be seen
minx is a float specifying the minimum x value
miny is a float specifying the minimum y value
maxx is a float specifying the maximum x value
maxy is a float specifying the maximum y value
paperunitname is a string representing a paper unit of measure (for example, ¯in" for inches); for a list of unit names, see Set Paper Units
tablename is the name of an open table
window_id is an Integer window identifier corresponding to a Map or Layout window
A performs scaling or stretching along the X axis.
B performs rotation or skewing along the X axis.
C performs shifting along the X axis.
D performs scaling or stretching along the Y axis.
E performs rotation or skewing along the Y axis.
F performs shifting along the Y axis.
Description
All coordinates are stored with respect to the northeast quadrant. The coordinates for points in the United States have a negative X while coordinates for points in Europe (east of Greenwich) have a positive X. Coordinates for points in the Northern hemisphere have a positive Y while coordinates for points in the Southern hemisphere have a negative Y.
See also:
CoordSys Earth and NonEarth Projection, CoordSys Layout Units, CoordSys Table, CoordSys Window