[postgis-users] shp2pgsql problem

Paul Ramsey pramsey at cleverelephant.ca
Fri Apr 11 08:21:11 PDT 2008


Tore, get the -svn tip of postgis and try again. There's a known bug
which is fixed in svn against OS/X 10.5

P

On Thu, Apr 10, 2008 at 11:44 PM, Tore Halset <halset at pvv.ntnu.no> wrote:
> 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