In my GIS application the data are sometimes stored in "Google Mercator" (in meters), sometimes in WGS84 LatLon. I'd like a reliable library to convert this data easily and in a "scientific" way, rather than messing with it manually, risking big errors.
I've come across Proj4, which apparently is able to do this: http://trac.osgeo.org/proj
but I can't find a similar library for Java (or Groovy). Such a project would be highly beneficial, given that those projections are increasingly common in online applications. A little jar would be amazing :-)
There is a Java port, but there aren't any files to download: http://www.jhlabs.com/java/maps/proj/
Basically I need to do this type of conversion: http://proj4js.org
Any idea about how to do this in Java?
Thanks, Mulone