Skip to content

Polygon perimeter calculation in PBSmapping?

2 messages · Takatsugu Kobayashi

#
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
3 days later
#
I figured out by reading vignette('sp') and a PBSmapping manual.  Thanks.
Takatsugu Kobayashi wrote: