[GRASS-user] Calculating distance between 2 point vectors along a line vector
Markus Neteler
neteler at osgeo.org
Mon Dec 14 04:56:37 PST 2015
On Mon, Dec 14, 2015 at 12:02 PM, Helmut Kudrnovsky <hellik at web.de> wrote:
> Markus Neteler wrote
>> On Sun, Dec 13, 2015 at 9:21 PM, Helmut Kudrnovsky <
>
>> hellik@
>
>> > 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
>
> done by r67114 and r67115
Nice.
I have taken liberty to fix two minor issues in r67120 and r67121
(remove OS specific paths; break long lines).
ciao
Markus
More information about the grass-user
mailing list