On Wed, 30 Aug 2006, Michael Sumner wrote: > Hello, I'm sorry but I have lost track of how this is to be done. Any > vector format would do, but I guess shapefiles are the most obvious. > > Is there a "spmaptools" package somewhere for doing this? > I can't find it.
It is included in the maptools package now - the writePolyShape() function is the one you are looking for. If you also need to write a *.prj, use showWKT() in the rgdal package. Code is getting ahead of documentation here ... Roger > > Otherwise, how can I convert a "SpatialPolygons" object to a "polylist" > (for writing by maptools)? > > Sorry if this is documented somewhere, but it's one of those things I > had assumed could done and have only just attempted to find out how. > > Cheers, Mike. > > _______________________________________________ > R-sig-Geo mailing list > R-sig-Geo@stat.math.ethz.ch > https://stat.ethz.ch/mailman/listinfo/r-sig-geo > -- Roger Bivand Economic Geography Section, Department of Economics, Norwegian School of Economics and Business Administration, Helleveien 30, N-5045 Bergen, Norway. voice: +47 55 95 93 55; fax +47 55 95 95 43 e-mail: [EMAIL PROTECTED] _______________________________________________ R-sig-Geo mailing list R-sig-Geo@stat.math.ethz.ch https://stat.ethz.ch/mailman/listinfo/r-sig-geo