[postgis-users] shp2pgsql problem
Martin Chapman
mchapman at texelinc.com
Thu Apr 10 23:57:27 PDT 2008
Try http://www.viewportimaging.com. It imports shape files into postgis.
Load a shape and then right click the layer to "Save As" to postgis.
Best regards,
Martin
-----Original Message-----
From: postgis-users-bounces at postgis.refractions.net
[mailto:postgis-users-bounces at postgis.refractions.net] On Behalf Of Tore
Halset
Sent: Friday, April 11, 2008 12:44 AM
To: PostGIS Users Discussion
Subject: [postgis-users] shp2pgsql problem
Hello.
I have installed postgresql-8.3.1, geos-3.0.0, proj-4.6.0,
postgis-1.3.2 and gdal-1.5.1 on my brand new macbook. Connecting to an
empty postgis database from uDig and adding some layers and features
seem to work fine.
shp2pgsql is however a different story. I have not been able to load
in any shape file. Example.
# download http://udig.refractions.net/files/docs/data-v1_1.zip
# unzip and cd into directory
% shp2pgsql usa_counties.shp mytable
shp2pgsql: shape (.shp) or index files (.shx) can not be opened.
% shp2pgsql usa_counties mytable
shp2pgsql: shape (.shp) or index files (.shx) can not be opened.
% ls -1 usa_counties.*
usa_counties.dbf
usa_counties.prj
usa_counties.qix
usa_counties.shp
usa_counties.shx
What am I doing wrong?
Regards,
- Tore.
_______________________________________________
postgis-users mailing list
postgis-users at postgis.refractions.net
http://postgis.refractions.net/mailman/listinfo/postgis-users
More information about the postgis-users
mailing list