Skip to content
Prev 1527 / 29559 Next

Getting the Shapefile package to work?

I uploaded a fixed version to CRAN.  Thanks for spotting that.

Ben

----- Original Message ----
From: Roger Bivand <Roger.Bivand at nhh.no>
To: "Hvidberg, Martin" <mhv at dmu.dk>
Cc: r-sig-geo at stat.math.ethz.ch; benstabler at yahoo.com
Sent: Friday, November 3, 2006 11:26:30 AM
Subject: Re: [R-sig-Geo] Getting the Shapefile package to work?


Replied to on R-help, but shapefiles has an undeclared dependence on 
foreign, which ought to have been made explicit properly in the package. 

Since read.dbf() in foreign is the shapelib function (and maptools and
rgdal also use shapelib), this might suggest that using maptools or rgdal
is a better solution unless you really need to debug shapelib within R (I
have done this for GeoLytics Inc. shapefiles which were breaking the ESRI
specs for the *.shx file, so the shapefiles package can be really 
helpful with broken or non-standard shapefiles).

Roger
On Fri, 3 Nov 2006, Hvidberg, Martin wrote: