# computing polygons from a centroid point distribution

5 messages
Open this post in threaded view
|

## computing polygons from a centroid point distribution

 Hi, Given a spatial point distribution in a two dimensional space, I wonder if there is a function in R that could make a polygon partition of the two dimensional space, with each point as centroid of each polygon ? Any suggestion about package(s) and function(s), if any, welcome, Best, Patrick _______________________________________________ R-sig-Geo mailing list [hidden email] https://stat.ethz.ch/mailman/listinfo/r-sig-geo
Open this post in threaded view
|

## Re: computing polygons from a centroid point distribution

 Patrick, On 20/12/2011, at 2:40 PM, Patrick Giraudoux wrote: > Given a spatial point distribution in a two dimensional space, I wonder if there is a function in R that could make a polygon partition of the two dimensional space, with each point as centroid of each polygon ? > > Any suggestion about package(s) and function(s), if any, welcome, > library(deldir) > ?deldir might be what you are after? cheers Ben _______________________________________________ R-sig-Geo mailing list [hidden email] https://stat.ethz.ch/mailman/listinfo/r-sig-geo
Open this post in threaded view
|

## Re: computing polygons from a centroid point distribution

 Le 20/12/2011 07:53, Ben Madin a écrit : > Patrick, > > On 20/12/2011, at 2:40 PM, Patrick Giraudoux wrote: > >> Given a spatial point distribution in a two dimensional space, I wonder if there is a function in R that could make a polygon partition of the two dimensional space, with each point as centroid of each polygon ? >> >> Any suggestion about package(s) and function(s), if any, welcome, >> library(deldir) >> ?deldir > might be what you are after? > > cheers > > Ben > > Yes ! exactly what I needed. Missed that it could have been properly called "tesselation", rather than to use winding explanations... Many thanks, Patrick _______________________________________________ R-sig-Geo mailing list [hidden email] https://stat.ethz.ch/mailman/listinfo/r-sig-geo