Skip to content

Instantly share code, notes, and snippets.

@pigreco
Created December 24, 2017 12:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pigreco/c44f9ae8a3586e7a68c8ca0dfc5503d1 to your computer and use it in GitHub Desktop.
Save pigreco/c44f9ae8a3586e7a68c8ca0dfc5503d1 to your computer and use it in GitHub Desktop.
riproietta una serie di shapefile in un altro sistema di coordinate - basti sostituire EPSG con quello desiderato
#!/bin/bash
set -x
#creo una cartella di output
mkdir ./nomecartella
for i in *.shp;
do
ogr2ogr -t_srs EPSG:32632 ./nomecartella/"$i" ./"$i";
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment