  Dear Carson,
  Thank you. This is exactly what I was looking for!
  Best,
  Thiago.
--- On Mon, 18/10/10, Carson Farmer <carson.farmer@gmail.com> wrote:

From: Carson Farmer <carson.farmer@gmail.com>
Subject: Re: [R-sig-Geo] Finding polygon centroid
To: "Thiago Veloso" <thi_veloso@yahoo.com.br>
Cc: "R SIG list" <r-sig-geo@stat.math.ethz.ch>
Date: Monday, 18 October, 2010, 17:39

Thiago,

  Dear list members,

  How can I find a polygon centroid? Google shows me a "get.Pcent" function within maptools, but it seems to be no longer available...

  Best wishes,

  Thiago.
I think coordinates from the sp package will do what you want...

library(sp)
?coordinates


Carson


-- 
Carson J. Q. Farmer
ISSP Doctoral Fellow

National Centre for Geocomputation
National University of Ireland, Maynooth,
http://www.carsonfarmer.com/




      
	[[alternative HTML version deleted]]

