[GRASS-user] shortest distance within a points layer
tech_dev at wildintellect.com
Mon Aug 11 06:16:47 EDT 2008
G. Allegri wrote:
> Hi list.
> I need to evaluate the shortest distance between the points of the same layer .
> v.distance fails as to_map and from_map overlap (every shortest
> distance is obviously 0: from point to itself). I was considering the
> use of network analysis tools... but I don't see a straigthforward way
> with them.
How about v.distance -a which creates a distance matrix then you can
query the table for lowest value, group by point and exclude distances of 0.
More information about the grass-user