Am 03.06.2014 13:44, schrieb Jukka Rahkonen:


ogr2ogr -f "ESRI Shapefile" -s_srs "+proj=tmerc +lat_0=0 +lon_0=12 +k=1
+x_0=4500000 +y_0=0 +datum=potsdam +nadgrids=BETA2007.gsb +units=m +no_defs"
-t_srs epsg:25832 output.shp input.shp


the +datum=potsdam can be misleading, this includes fixed +towgs84 parameters.

I used this for cs2cs transformation:

cs2cs +proj=tmerc +lat_0=0 +lon_0=9 +x_0=3500000 +y_0=0 +k=1.000000 +ellps=bessel +units=m +nadgrids=./BETA2007.gsb +wktext +to +init=epsg:4326 31467.txt >>out.txt

lon_0 and x_0 depending on your DHDN zone. The gsb file should be in the same folder, or include the full path to it.

HTH,
André Joost


_______________________________________________
gdal-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to