Hi,
> 
> Does anyone have a python script or know of a 3rd party plug in that
> will allow a directory of shapefiles to be reprojected into a
> specified CRS? Would also be helpful to do the same with the clip
> tool.

this should work

#!/bin/bash
for FILE in *.shp
do
  echo "Processing $FILE file..."
  ogr2ogr -f "ESRI Shapefile" -s_srs "EPSG:XXX" -t_srs
"EPSG:XXX" /yourpath/$FILE $FILE 
done


having such functionality exposed in QGIS "vector" menu would be very useful.



cheers

-- Giovanni --
> 







_______________________________________________
Qgis-user mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/qgis-user

Reply via email to