[R-sig-Geo] Can voronoi polygons calculated in R be converted to ESRI shapefile?
Hisaji ONO
hi_ono2001 at ybb.ne.jp
Mon Nov 19 02:19:30 CET 2007
Hi
Thank you for your useful info.
However for following statement,
> voronoiShapefile <- function()
> {
-----X8--------------X8-----------X8--
> for (i in seq(along=polys))
> {
> pcrds <-
> cbind(tritest.vp[[8]][,1],tritest.vp[[8]][,2] )
I think all "8"s needed to "i" like this.
cbind(tritest.vp[[i]][,1],tritest.vp[[i]][,2] )
BTW, any method finding neightbour voronoi'cells' IDs?
Regards.
More information about the R-sig-Geo
mailing list