El 14/04/2010 10:31, Tilo Villwock escribió:
ogr2ogr -s_srs "+proj=tmerc +lat_0=0 +lon_0=9 +k=1 +y_0=0
+ellps=bessel +nadgrids=BETA2007.gsb" -t_srs EPSG:25832 target.shp
source.shp
I used the parameters instead, but it didn't work either. In fact, I
think it doesn't matter since ogr2ogr looks up the same parameters in
its EPSG file and converts the whole string to WKT anyway.
No - the -s_srs option overrides any spatial reference information in
the original data (be it a .prj file, a worldfile, or embedded in the
files).
Maybe you can try writing down a couple of coordinates from the
shapefile, and running cs2cs (entering the coordinates by hand) to see
if it makes a difference.
Try something like:
cs2cs +proj=tmerc +lat_0=0 +lon_0=9 +k=1 +y_0=0 +ellps=bessel
+nadgrids=BETA2007.gsb +to +init=epsg:25832
versus
cs2cs +proj=tmerc +lat_0=0 +lon_0=9 +k=1 +y_0=0 +ellps=bessel +to
+init=epsg:25832
Again, run it in the same directory as the nadgrid file, and use the
full epsg:3396 definition.
Hope it helps,
--
Iván Sánchez Ortega <[email protected]>
_______________________________________________
gdal-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/gdal-dev