What is the Google Maps spatial help system when you type lat long in the map search bar?
I found some clues that this could be WGS84, but after converting to this coordinate system nothing appears when I paste the coordinates into the Google map search box.
I am transitioning from the GDA MGA 56.
Example:
- Input Signals MGA56: 336301, 6253363
- Expected WGS86 agreement: -33.8473340793201, 151.230631835944
- I get: 16834916.928327594 -4008321.1020318186
Spatial coordination systems:
- EPSG: 28356 for MGA56
- EPSG: 900913 for WGS86 (google maps)
I use geotools to convert:
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);
I know the conversion is wrong, because when I use the online tool, it gives me the correct coordinates. http://www.environment.gov.au/cgi-bin/transform/mga2geo_gda.pl?east=336301&north=6253363&zone=56
google-maps spatial geotools
Java rocky
source share