Select to view content in your preferred language

Any function that can aggregate every euclidean distances between each road links and multiple points by road link ID?

366
0
07-14-2022 02:58 AM
Labels (1)
asdfjljwg
New Contributor II

What I want to do are follows :

1. First of all, the base database that I have to use is some facility points(point layer) and road network(link layer).

2. Calculate the every euclidean distances between each links and every points.

3. What I want to do finally is aggregating figures by road link id, so that making a list of "the sum of eulidean distance from each links to every single facility points".

So this is an example of middle output, which corresponds to step 2 and,

asdfjljwg_0-1657792360539.png

this is an example of final output that I want ultimately...

asdfjljwg_1-1657792605081.png

If there is function that can perform to final output directly, it will be best. But I'm not sure if this kind of function exists.

So if it doesn't exist, please recommend me at least a function that can make middle output so that I can aggregate figures by R or something else.

Thank you

0 Kudos
0 Replies