[gdal-dev] ogr2ogr and +towgs84

Armin Burger armin.burger at gmx.net
Wed Jul 9 17:26:29 EDT 2008


Hi everybody

I need to convert a shapefile in a UTM projection with datum ED50 to a 
WGS84 based projection (LAEA, Epsg 3035). I applied the datum shift 
parameters using "+towgs84", like

ogr2ogr -f "ESRI Shapefile" -s_srs "+proj=utm +zone=30 +ellps=intl 
+units=m +towgs84=-131.0,-100.3,-163.4,-1.244,-0.020,-1.144,9.39 
+no_defs"  -t_srs "EPSG:3035"  with_datumshift test.shp

but it seems whatever I write for +towgs84 has no effect. I can drop it 
completely or use other values, the result is always the same. Is the 
+towgs84 parameter just not used or do I use a wrong definition somewhere?

GDAL version used is the one from FWTools 2.1.0 (Win)

Thanks for any help

Armin


More information about the gdal-dev mailing list