我在这里真的很困惑。我试图确定esri shapefile附带的相关* .prj文件是什么意思。如果我有一个包含此内容的* .prj文件:
PROJCS["WGS 84 / World Mercator",
GEOGCS["WGS 84",
DATUM["WGS_1984",
SPHEROID["WGS 84",6378137,298.257223563,
AUTHORITY["EPSG","7030"]
],
AUTHORITY["EPSG","6326"]
],
PRIMEM["Greenwich",0,
AUTHORITY["EPSG","8901"]
],
UNIT["degree",0.0174532925199433,
AUTHORITY["EPSG","9122"]
],
AUTHORITY["EPSG","4326"]
],
PROJECTION["Mercator_1SP"],
PARAMETER["central_meridian",0],
PARAMETER["scale_factor",1],
PARAMETER["false_easting",0],
PARAMETER["false_northing",0],
UNIT["metre",1,
AUTHORITY["EPSG","9001"]
],
AXIS["Easting",EAST],
AXIS["Northing",NORTH],
AUTHORITY["EPSG","3395"]
]
这里定义了两件事。投影坐标系和地理坐标系。
我想使用OpenGL绘制shapefile,所以我需要根据投影信息进行转换,还是只使用从shapefile读取的坐标?
答案 0 :(得分:0)
看看这个答案: https://gis.stackexchange.com/a/2386
prj文件似乎代表当前投影。因此shapefile中的每个坐标都已经在指定的坐标系中......