[gdal-dev] Reprojection differs between FWtools versions

Koen Mannaerts [fietsnet.be] koen at fietsnet.be
Sat Aug 16 11:52:08 EDT 2008


Hi all,

I noticed that ogr2ogr in FWtools 1.0.0.a7 returns a different result 
than ogr2ogr in FWtools 2.2.0, 2.2.1.

No doubt it's due to what I pass as arguments. The idea is to convert 
Belgian Lambert, Belgian Datum shapefiles to Lat/Lon WGS84.
With the following arguments 1.0.0.a7 does this correctly, 2.2.1 
produces polylines ~110m off to the north west (Belgium).

-f "ESRI Shapefile" -s_srs "+proj=lcc +lat_2=49.8333339 +lat_1=51.166667 
+lat_0=90.0000000 +lon_0=4.3674867 +x_0=150000.013 +y_0=5400088.438 
+units=m +ellps=intl 
+towgs84=-99.059,53.322,-112.486,0.419,-0.830,1.885,-0.999999" -t_srs 
"+proj=latlong +ellps=WGS84"

Do I need to express the argument otherwise to make it work in newer 
versions?

Thanks heaps,

Koen


More information about the gdal-dev mailing list