Hi,

Maybe, using rgeos and intersecting two copies of your vegetation layer?
Kind of gIntersection(vegLayer, vergLayer, byid=TRUE) ?


2013/5/5 Alastair Potts <potts.a@gmail.com>

> Good day,
>
> I would like to determine the percentage/length of shared boundaries
> between a set of polygons (which are, in this case, mapped vegetation
> units).
>
> This has been dealt with in the r-sig-geo list before (
> https://stat.ethz.ch/pipermail/r-sig-geo/2010-August/008917.html);
> however,
> the solution involved porting across to GRASS (which is something I would
> like to avoid given my beginner status of GIS in R).
>
> I was wondering if this problem is now solvable in R, and if so, where
> should I look?
>
> Thanks in advance,
>
> Regards,
> Alastair
>
> --
> Dr. Alastair J. Potts
> Claude Leon Postdoctoral Fellow
> Botany Department
> Nelson Mandela Metropolitan University
>
> Cell #: 082 491-7275
> Office #: 041 504-4375 (Mon, Thurs, Fri)
> Fax #: 086 273-2675
>
>         [[alternative HTML version deleted]]
>
> _______________________________________________
> R-sig-Geo mailing list
> R-sig-Geo@r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-geo
>

	[[alternative HTML version deleted]]

