Skip to content

Instantly share code, notes, and snippets.

@pigreco
Last active April 21, 2018 20:15
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/69700afa8db19adcde053b2d3d184b50 to your computer and use it in GitHub Desktop.
Save pigreco/69700afa8db19adcde053b2d3d184b50 to your computer and use it in GitHub Desktop.
da shapefile a geopackage - da avviare dentro cartella shp
#!/bin/bash
set -x
for i in *.shp;
do
ogr2ogr -f 'GPKG' -append pacchetto.gpkg "$i";
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment