[GRASS-user] shortest distance within a points layer

Markus Neteler neteler at osgeo.org
Mon Aug 11 11:02:37 EDT 2008

On Mon, Aug 11, 2008 at 12:02 PM, G. Allegri <giohappy at gmail.com> 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.

The best would be to have v.univar calculate these values.
Min and max algorithms are already built-in, it "just" needs
to be extended to consider not only attributes but also geometry.
(maybe with a flag to consider geometry instead of attributes?)


More information about the grass-user mailing list