[postgis-users] Regarding problem with shp2pgsql utility

strk strk at keybit.net
Thu May 14 10:47:12 PDT 2009


On Thu, May 14, 2009 at 10:36:16PM +0530, kovuri suresh wrote:

> postgis=# shp2pgsql -s 4269 st99_d00.shp public. us_states > us_states.sql;
> ERROR:  syntax error at or near "shp2pgsql"

You're giving the command to the PostgreSQL shell, which doesn't
konw about executing external binaries. Exit psql and run it
from the shell prompt....


--strk;

 Free GIS & Flash consultant/developer      ()  ASCII Ribbon Campaign
 http://foo.keybit.net/~strk/services.html  /\  Keep it simple! 



More information about the postgis-users mailing list