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 -- Dr. Agustin Lobo Institut de Ciencies de la Terra "Jaume Almera" (CSIC) LLuis Sole Sabaris s/n 08028 Barcelona Spain Tel. 34 934095410 Fax. 34 934110012 email: [EMAIL PROTECTED] http://www.ija.csic.es/gt/obster _______________________________________________ R-sig-Geo mailing list R-sig-Geo@stat.math.ethz.ch https://stat.ethz.ch/mailman/listinfo/r-sig-geo