[postgis-users] Postgis Import Problems
Stephen Woodbridge
woodbri at swoodbridge.com
Thu Apr 10 06:32:52 PDT 2008
Stefan Schwarzer wrote:
> Hi there,
>
> I try to use the shp2pgsql tool but whatever I do, it's just the help
> which appears, like this:
>
> shp2pgsql -s 4326 -I -D
> /Users/schwarzer/Downloads/2008-04-10/temp/aquacult_prod_marine080410140926.shp
> gis.countries > Temp/countries.sql
> RCSID: $Id: shp2pgsql.c 2667 2007-07-23 16:29:40Z mleslie $ RELEASE: 1.3.1
> USAGE: shp2pgsql [<options>] <shapefile> [<schema>.]<table>
> OPTIONS:
> ...
>
>
> Why would that be? Any idea? Thanks for any hints,
I think you are missing a required option:
-a append data to an existing table
-c create a new table and load the data into it
-p create a new table but do not load the data (later use -a to load)
-Stephen Woodbridge
http://imaptools.com/
More information about the postgis-users
mailing list