Skip to content
Prev 2697 / 29559 Next

Centroids and getSpPPolygonsLabptSlots

I have just incidentally learned in the sp doc that 
getSpPPolygonsLabptSlots() actually retrieves the coordinates
of the centroids. The index page of the sp doc just states:
getSpPPolygonsLabptSlots 	Class "SpatialPolygonsDataFrame"

adding a mention to the fact that getSpPPolygonsLabptSlots retrieves the
coordinates of the centroids would be very helpful. Previously, I 
thought I had to convert to a PBSmapping object and use calcCentroid().

Agus