[postgis-users] problem with shp2pgsql
Stefano Costa
steko at iosa.it
Thu Dec 29 04:00:53 PST 2005
Scrive Frank Koormann <frank.koormann at intevation.de>:
> the most common way IMHO is not to place your data where your filter
> programs are located but to call the filter from where your data is
> located, e.g. under /home/myname/mydata :
>
> /usr/lib/postgresql/bin/shp2pgsql -s 26911 River.shp River
> myschema.myRiverdb > River.sql
>
> If used frequently either copy shp2pgsql to a directory specified in the
> PATH environment variable or extend your PATH to the directory where
> shp2pgsql is located.
try also:
sudo ln -s /usr/lib/postgresql/bin/shp2pgsql /usr/bin && sudo chmod +x
/usr/bin/shp2pgsql
that should enable you to run shp2pgsql from any directory
HTH
Steko
----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.
More information about the postgis-users
mailing list