On 11-05-31 04:06 PM, kavinmehta wrote:
Thanks Jean-Claude.

I ran the following command:

ogr2ogr -f "ESRI Shapefile" -overwrite "C:/mapdata/ABC.shp"
"C:/mapdata/ABC.shp" -T_SRS EPSG:4326

and got similar error:

ERROR 4: Unable to open EPSG support file gcs.csv.
Try setting the GDAL_DATA environment variable to point to the
directory containing EPSG csv files.
Failed to process SRS definition: EPSG:4326

How do i say this is my input and this is my output file? if i give an o/p
file name in the above command then it says it does not exist, which is
correct because i want it to create it. hence i gave the same file name with
an overwrite command but it did not work either.

Kavin,

You cannot do update in place the way you want with ogr2ogr.  I'm afraid
you will need to transform your features into a new shapefile.

Best regards,
--
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, [email protected]
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent

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

Reply via email to