[R] How to calculate the perimeter and common border of polygons?

MacQueen, Don macqueen1 at llnl.gov
Fri Feb 25 00:39:13 CET 2011


I would suggest asking this question on r-sig-geo.

-Don

-- 
Don MacQueen

Lawrence Livermore National Laboratory
7000 East Ave., L-627
Livermore, CA 94550
925-423-1062





On 2/18/11 10:44 AM, "Leonardo Monasterio" <leonardo.monasterio at gmail.com>
wrote:

>Dear R-users,
>
>Is there any way of calculating the perimeter of a polygon in a shapefile
>object? Furthermore, how to calculate the length of the common border of
>two
>polygons?
>I've searched the code of spded, but could not find a hint on how to do
>it.
>Thank you very much,
>Leo.
>
>    [[alternative HTML version deleted]]
>
>______________________________________________
>R-help at r-project.org mailing list
>https://stat.ethz.ch/mailman/listinfo/r-help
>PLEASE do read the posting guide
>http://www.R-project.org/posting-guide.html
>and provide commented, minimal, self-contained, reproducible code.



More information about the R-help mailing list