Hi, I created a grid of cells of varying sizes using makeGrid() in sp. I could calculated the areas of these cells of varying sizes using calcArea() and combinePolys() in PBSmapping. I wonder if there is a function with which to compute the perimeter length. Or should I convert polygons to polylines and use calcLengths()? Thank you very much. Taka
Polygon perimeter calculation in PBSmapping?
2 messages · Takatsugu Kobayashi
3 days later
I figured out by reading vignette('sp') and a PBSmapping manual. Thanks.
Takatsugu Kobayashi wrote:
Hi, I created a grid of cells of varying sizes using makeGrid() in sp. I could calculated the areas of these cells of varying sizes using calcArea() and combinePolys() in PBSmapping. I wonder if there is a function with which to compute the perimeter length. Or should I convert polygons to polylines and use calcLengths()? Thank you very much. Taka
_______________________________________________ R-sig-Geo mailing list R-sig-Geo at stat.math.ethz.ch https://stat.ethz.ch/mailman/listinfo/r-sig-geo