[GRASS-user] Distance edge to edge between ALL the patches of a map

Javier Godar javiergodar at gmail.com
Sun Jun 17 06:11:54 PDT 2012


Hi!

I try to calculate all the distances edge to edge between all the polygons
(in a vector map) or patches (in a raster version of the same map) of a
dataset. I cannot use v.distance because it just provides the distance to
the nearest element, and the same applies to r.le.dist for the patches.
Anyone knows a way to do this?

 It is a large dataset of +6000 patches/polygons, and the goal of this
calculation is to prepare an input for a connectivity analysis in Conefor
Sensinode.
For example if there would be just four patches the output should look like
this

Patch_A    Patch_B    Distance(m)
1    2    6141.19
1    3    17192.37
1    4    18426.00
2    3    18768.68
2    4    123.76
3    4    1245.87

Thank you

Javier Godar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20120617/185148ed/attachment.html>


More information about the grass-user mailing list