esporta tutti le tabelle di un db sqlite in shapefile nella cartella output
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# attivo il debug così vedo cosa avviene nella shell | |
set -x | |
# per ogni file sqlite contenuto contenuto nella cartella dello script, esegue | |
# l'export in shp nella cartella output | |
for i in *.sqlite; | |
do ogr2ogr -f "ESRI Shapefile" output ./"$i"; | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment