[gdal-dev] Question to ogr2ogr
Andre Joost
andre+joost at nurfuerspam.de
Tue Jun 3 07:42:00 PDT 2014
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
More information about the gdal-dev
mailing list