[R-sig-Geo] How can I convert a "SpatialPolygons" object to a "polylist"?

Jim Burke j.burke at earthlink.net
Sun May 3 05:52:36 CEST 2009


How can I convert a "SpatialPolygons" object to a "polylist" 

I have a file read in with "readShapePoly". This contains the polygon
long lats in a slot called "coords". I want to use the package "splancs"
"inout" function which works according to the doc with polygon data sets.
An example Map2Poly which works with "inout" lists itself as a class 
"polylist".  

Thanks,
Jim Burke



More information about the R-sig-Geo mailing list