Skip to content

Problem with read.shape in maptools

2 messages · Axel Urbiz, Roger Bivand

#
On Sat, 23 Jul 2011, Axel Urbiz wrote:

            
Do search the archives properly; the second hit on googling 
"list:R-sig-geo read.shape" is relevant. Summarize to the list when you've 
resolved your problem. In addition, R is case specific, so an S3 Map 
object is not an S3 map object.

Your previous mail refers to a function in the maps package, which does
things that may be supported elsewhere. The only function that seems to
convert SpatialPolygonsDataFrame to a list like the map class is
fortify.SpatialPolygonsDataFrame() in ggplot2, but I don't know if this
does what you need. To be honest, you havent't explained what you want to
do with smooth.map that you cannot do with sp objects - please do read the
available documentation before cross-posting (first post).

Roger