当您在 map 搜索栏中输入纬度时,谷歌地图的空间引用系统是什么?
我发现它可能是 WGS84 的提示,但是在转换到该坐标系后,当我将坐标粘贴到谷歌地图搜索框中时,什么都没有显示。
我正在从 GDA MGA 56 转换。
样本:
空间坐标系统:
我正在使用 geotools 进行转换:
CoordinateReferenceSystem crsMga56 = CRS.parseWKT(mga56);
CoordinateReferenceSystem crsGmaps = CRS.parseWKT(gmaps);
Coordinate coordinate = new Coordinate(336301, 6253363);
Point point = new GeometryFactory().createPoint(coordinate);
MathTransform transform = CRS.findMathTransform(crsMga56, crsGmaps);
Geometry geometry = JTS.transform(point, transform);
我知道转换不正确,因为当我使用在线工具时,它会给我正确的坐标。 http://www.environment.gov.au/cgi-bin/transform/mga2geo_gda.pl?east=336301&north=6253363&zone=56
最佳答案
Google 使用基于 WGS84 的球形墨卡托投影。有一个writeup在 OpenLayers 网站上。
关于google-maps - 谷歌地图空间引用系统,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/1676940/