我对mapbasic来说是个菜鸟,刚开始接触mapbasic,看了一段程序,想照搬到另外区域去,
对于这些东西实在看不懂,到楼下问搞地理的几个人,他们都不用mapinfo,郁闷阿,只好麻烦大家乐,
主要是在老师给的程序里面这三句话都代表什么,搞不明白,虽然看了些mapbasic编程书籍,但是好像都和这里格式不同,
Create Map For grid CoordSys Earth Projection 8, 9999, 3, 0, 0, 0, 0, 0, 0, 0, 0, “m”, 160.5, 0, 1, 500000, 0
‘ Create Map For grid CoordSys Earth Projection 8, 38, “m”, 128.1785555556, 52.3121333333, 1, 867894.05, 845069.80 Bounds (700000, 700000) , 1000000)(1000000
‘ Create Map For grid CoordSys NonEarth Units “m” Bounds (-100, -100) (10000000, 10000000)
问题:
1. 第一句话中各项代表的含义是什么?
2.第二句话中867894.05, 845069.80,是指那个点的坐标?还是其他含义?
谢谢阿,可能这些问题很简单,可是我实在找不到请教对象,只好麻烦大家乐,
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
Units unitname
[ Affine Units unitname, A, B, C, D, E, F ]
Bounds ( minx, miny) ( maxx, maxy)
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.
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 (e.g. “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 (e.g. “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