Sorry, I do not understand...You mean to write the spatialRef to a txt file and then doing something like:
$ ogr2ogr -a_srs spatialRef.txt dst_shape.shp src_shape.shp Is this what you mean? Where inside the txt file there is: GEOGCS["GCS_WGS_1984", DATUM["WGS_1984", SPHEROID["WGS_1984",637813.0,298.252223563]], PRIMEM["Greenwich",0.0], UNIT["Degree",0.0174532925199433]] Is correct? -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/Change-the-spatial-reference-of-a-shapeile-tp6561998p6571241.html Sent from the GDAL - Dev mailing list archive at Nabble.com. _______________________________________________ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev