[R-sig-Geo] Polygon perimeter calculation in PBSmapping? [SOLVED]

Takatsugu Kobayashi tkobayas at indiana.edu
Mon Jan 21 23:20:40 CET 2008


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
>




More information about the R-sig-Geo mailing list