Guy, I'm not sure what Geotools uses, but ogr2ogr and PostGIS both use the proj4 library. So the differences between ogr2ogr and PostGIS there might be how you are calling them or the data files they are using. So short answer they should all be about the same accuracy assuming you are really using the same projections and all the files needed are in place.
As far as whether geotools is better than proj4, I have no clue though I assume it depends on what transforms you are trying to do. What does your command line statement and calls look like for each? What kind of discrepancy are you seeing? Hope that helps, Regina -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Guy Thomas Sent: Monday, May 04, 2009 2:15 AM To: [email protected] Subject: [postgis-users] Conversion of Lambert72 to WGS84 and vice-versa Thanks to all who replied to my questions about the conversion. In the mean time I have tried 3 methods for converting coordinates: - Postgis - The java package Geotools - The Linux command-line utility ogr2ogr Unfortunately, I get three different results. Which of the three tools/utilities/... produces the most reliable results? -- Guy Thomas [email protected] fks bvba - Formal and Knowledge Systems http://www.fks.be/ Stationsstraat 108 Tel: ++32-(0)11-21 49 11 B-3570 ALKEN Fax: ++32-(0)11-22 04 19 _______________________________________________ postgis-users mailing list [email protected] http://postgis.refractions.net/mailman/listinfo/postgis-users _______________________________________________ postgis-users mailing list [email protected] http://postgis.refractions.net/mailman/listinfo/postgis-users
