Skip to content

which function in R can extract the coordinats of ploygon's center and create Dirichlet tessellation/Delaunay triangulation of points?

2 messages · zhijie zhang, Roger Bivand

#
On Tue, 6 Mar 2007, zhijie zhang wrote:

            
The coordinate() method for a SpatialPolygons or SpatialPolygonsDataFrame 
object returns the centroid of the largest member polygon.
Please review the following recent posting, where the deldir package is 
used to extract a tesselation:

http://article.gmane.org/gmane.comp.lang.r.geo/1275

It ought to cover your question (it is more difficult to recover the outer 
polygons of the tesselation from tripack as closed polygons).

Hope this helps,

Roger