Skip to content

Reading Multi Polygon Shapefiles

2 messages · Mario Gellrich, Nikhil Kaza

#
Dear list members

I have a question concerning the import of multipolygon-shapefiles (ESRI notation: PolygonM, type 25). I tried readShapePoly() from the maptools package, the PBSmapping package (which seems to use the same function) and read.shapefile() from the shapefile package. With maptools/PBSmapping I've got the message that this polygon-type cannot (yet) be handled. Is there another way to read such shapefile-types? We also have PostGIS in our office, but I did'nt tried out, whether it works or not. I work with R version 2.10.1 (64 bit) on Mac.

Best regards

Mario
#
try readOGR in rgdal package.

If you are using a mac, installing rgdal is slightly more complicated.
http://www.kyngchaos.com/software:frameworks


Nikhil Kaza
Asst. Professor,
City and Regional Planning
University of North Carolina

nikhil.list at gmail.com
On Jun 30, 2010, at 5:44 AM, Mario Gellrich wrote: