We have a folder with all sorts of vector files like tab,shp,dxf. Many of the files are in different projection. I would like to convert all the files to EPSG: 4326 and eventually the non-shapefiles to shapefiles.
I've used the following command
For %%f in ("*.shp",".tab",".dxf") do ogr2ogr -t_SRS EPSG:4326 "ESRI Shapefile" "%~dpnf.shp" "%%f"
It say's.."Failure COuldn't fetch requested layer".
And how to save the output files in a separate folder, not in the same folder itself
Edit:
I've attached the image of the error
No comments:
Post a Comment