On Tue, 13 Nov 2007, Debarchana Ghosh wrote: > Hi, > > I have a point data frame with X and Y coordinates, where n=1051. I am > trying to create Voronoi polygons using both the Tripack and PBSMapping > packages. > > library(tripack) > testbird.vm<-voronoi.mosaic(testbird$X, testbird$Y) > testbird.vp<-voronoi.polygons(testbird.vm) > plot(testbird.vp) > > library(PBSMapping) > testbirdvor<-calcVoronoi(testbird) > >> From here how can I create an ESRI shapefile of the voronoi polygons in R > and export to ArcGIS for further use. >
There is a thread at: http://article.gmane.org/gmane.comp.lang.r.geo/1275 which shows how to make a SpatialPolygonsDataFrame from deldir output (deldir closes the infinite polygons and clips large closed ones, but tripack does not). Could you please post with a short recipe once you resolve this, it is do-able, but the original thread touches on other things too, that are not relevant here. Roger > Thanks for the help, > Debs. > > -- 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