Skip to content
Back to formatted view

Raw Message

Message-ID: <20071119011930.62372.qmail@web10710.mail.bbt.yahoo.co.jp>
Date: 2007-11-19T01:19:30Z
From: Hisaji ONO
Subject: Can voronoi polygons calculated in R be converted to ESRI shapefile?
In-Reply-To: <473CBEBF.6050309@nceas.ucsb.edu>

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.