[Gfoss] problema shp2pgsql

Buggy Pine buggy.pine at gmail.com
Mon Oct 16 22:21:46 CEST 2006


prima ridirigi lo standard output su di un file:
shp2pgsql c:\cartella\shape.shp mia_tabella mio_database > mia_tabella.sql
e poi lo dai in pasto a psql:
psql -d mio_database -f mia_tabella.sql

funziona sia su linux che su win

puoi fare anche tutto in uno usando il pipe:
shp2pgsql c:\cartella\shape.shp mia_tabella mio_database | psql -d
mio_database -f mia_tabella.sql

Ciao
Ruggero



On 10/16/06, kassandra <kassandraxxx at libero.it> wrote:
>
> mi manca un server su linux :(
>
>
> --
> View this message in context: http://www.nabble.com/problema-shp2pgsql-tf2452059.html#a6834118
> Sent from the Gfoss mailing list archive at Nabble.com.
>
>
> _______________________________________________
> Gfoss mailing list
> Gfoss at faunalia.com
> http://www.faunalia.com/cgi-bin/mailman/listinfo/gfoss
>



More information about the Gfoss mailing list