[GRASS-user] Euclidean distance between lines

Hanlie Pretorius hanlie.pretorius at gmail.com
Wed Nov 17 06:47:54 EST 2010


Hi,

I need to calculate the maximum Euclidean distance between lines in a
vector layer.

In ArcGIS I use Spatial Analyst to achieve this; it has a Euclidean
distance tool that takes a line vector layer and produces a raster
output, either as table or as an image. The output contains several
statistics, including the maximum.

I can't think of a way to do this in GRASS. v.dist gives only the
minimum distance. r.distance also works with the shortest distance
only.

Can anyone perhaps suggest a method to accomplish this?

Thanks
Hanlie


More information about the grass-user mailing list