Hi, Thanks for the reply. I'm not sure that it's due to that change however. I just tried 1.5.1 and 1.5.2 too. They give the same result as 1.6.0. (I tried 1.4.1 too, but that doesn't have a gdaltransform command!). 1.5.1 is March 2008, and that predates the May 2008 change that you mention.
I wonder if it's due to some supporting library somewhere? I have geos-3.1.0, ogdi-3.1.6, proj-4.6.1. I'd feel happier if somebody else can duplicate my result. Cheers, Peter Looks like they may have added a towgs84 parameter to the proj definition for 31370: http://postgis.refractions.net/pipermail/postgis-commits/2008-May/000283.html That would likely explain the shift - the documentation probably hasn't been updated. On Sat, Apr 18, 2009 at 1:53 PM, geep999 <[email protected]> wrote: > > Hi, > I have own-compiled gdal-1.6.0 on Linux - Slackware 12.2. > The documentation for gdalwarp - http://www.gdal.org/gdaltransform.html - > shows > an example and a result: > Simple reprojection from one projected coordinate system to another: > gdaltransform -s_srs EPSG:28992 -t_srs EPSG:31370 > 177502 311865 > Produces the following output in meters in the "Belge 1972 / Belgian > Lambert 72" projection: > 244510.77404604 166154.532871342 -1046.79270555763 > > My gdaltransform (gdal-1.6.0) gives a different result: > gdaltransform -s_srs EPSG:28992 -t_srs EPSG:31370 > 177502 311865 > 244422.238366377 165970.24545029 0 > > Is the example wrong? Is my gdal-1.6.0 somehow faulty? > Can anybody duplicate this or explain the difference? > > Cheers, > Peter > -- > View this message in context: > http://n2.nabble.com/gdaltransform-v.1.6.0---result-differs-from-documentation-tp2657180p2657180.html > Sent from the GDAL - Dev mailing list archive at Nabble.com. > > _______________________________________________ > gdal-dev mailing list > [email protected] > http://lists.osgeo.org/mailman/listinfo/gdal-dev > _______________________________________________ gdal-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/gdal-dev -- View this message in context: http://n2.nabble.com/gdaltransform-v.1.6.0---result-differs-from-documentation-tp2657180p2657456.html Sent from the GDAL - Dev mailing list archive at Nabble.com. _______________________________________________ gdal-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/gdal-dev
