[Gfoss] problemi shp to postgis
Andrea della Peruta
adellaperuta a asmez.it
Gio 9 Ott 2008 11:45:48 CEST
Ciao a tutti.
Sto avendo un problema ad importare uno shp in postgis.
premetto:
lavoro su una macchina con centos 5 e per l'importazione uso Shp2pgsql
presente nella directory /bin di pgsql
Creo il mio file.sql con:
shp2pgsql -s -1 path/shape_da_importare.shp nometabella nomedatabase > path/file/da/creare/shape_da_importare.sql
provo ad importarlo in postgres utilizzando:
psql -h nomehost -U nomeutente -d nomedatabase -f /path/file/da/creare/shape_da_importare.sql
ma mi restituisce questo errore:
ERROR: current transaction is aborted, commands ignored until end of transaction block
ROLLBACK
BEGIN
ERROR: relation "civici" does not exist
è probabile che lo shp di partenza sia corrotto?
grazie..
Andrea
Maggiori informazioni sulla lista
Gfoss