[postgis-users] problem with shp2pgsql

Marie-Lise VAUTIER vautier at ensg.ign.fr
Sun Jul 18 17:48:01 PDT 2004


Quoting strk <strk at keybit.net>:

> On Fri, Jul 16, 2004 at 11:19:48AM +0200, TECHER Jean David wrote:
> > I made a litle mistake for the seco,d command :)
> > 
> > shp2pgsql -D i5605r_p.shp  rail mydb | psql -d mydb
> 
> 'mydb' argument is obsoleted.
> The .shp suffix should not be needed.
> 
> --strk;
> 


Thank you everybody for your answers. It was just a matter of putting my
shapefiles in the /loader directory and then run 

./shp2pgsql -c ./shapefile  table | psql mydb

Marie-Lise



More information about the postgis-users mailing list