[R-sig-Geo] GRASS with R and distances between polygon edges
dgoliche at sclc.ecosur.mx
Mon Oct 30 18:32:14 CET 2006
White.Denis at epamail.epa.gov wrote:
> Or, write a program/function
>to do the search: for each polygon, find the minimum distance between
>all of its vertices and all of the vertices of each other polygon.
I thought of that, but was too lazy to start doing it.
>However, this algorithm does not work well with two polygons like this:
> / \
>A buffering approach would do better.
Thanks for this Dennis. I found morphology in adehabitat does what we
needed through erosion or dilation. Good to know that there isn't
another simple way that we overlooked.
Dr Duncan Golicher
Ecologia y Sistematica Terrestre
Conservación de la Biodiversidad
El Colegio de la Frontera Sur
San Cristobal de Las Casas,
Email: dgoliche at sclc.ecosur.mx
Tel: 967 674 9000 ext 1310
Fax: 967 678 2322
United Kingdom Skypein; 020 7870 6251
Skype name: duncangolicher
More information about the R-sig-Geo