[postgis-users] shp2pgsql problem

Tore Halset halset at pvv.ntnu.no
Fri Apr 11 13:02:16 PDT 2008


Hello.

Thanks a lot Paul, it works great.

  - Tore.

On 11. april. 2008, at 17.21, Paul Ramsey wrote:

> 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
>>
> _______________________________________________
> 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