[GRASS-user] Calculating distance between 2 point vectors along a line vector

Markus Neteler neteler at osgeo.org
Sun Dec 13 13:43:21 PST 2015


On Sun, Dec 13, 2015 at 9:21 PM, Helmut Kudrnovsky <hellik at web.de> wrote:
>
> after some testing: v.net.distance [1] does the job quite nicely.
>
> - step 1: v.net operation=connect input=line points=samplepoints
> output=line_samplepoints node_layer=3
>
> - step 2: v.net operation=connect input=line_samplepoints
> points=pollution_points output=line_samplepoints_pollutionpoints
> node_layer=4
>
> - step3: v.net.distance input=line_samplepoints_pollutionpoints
> output=calculated_distance from_layer=3 to_layer=4
>
> [1] https://grass.osgeo.org/grass71/manuals/v.net.distance.html

If that works, could you turn it into a point pollution example for NC
to be included in the manual page?

... nice to show that v.net.* works for data other than street networks.

thanks,
Markus


More information about the grass-user mailing list