I have 6 points in one layer as shown in the first image. I am trying to:
- connect points with lines in a required sequence.
- Save data of line connections (From_point and To_point) in the seperate layer.
For demo, I have manually connected the lines (green)
and shown the sequence (red)
with numbers in Image 1. The sequence of connecting lines should be as follows:
Sequence | From_point | To_point |
---|---|---|
1 (building1) to (Junction) | 7b9f | aab4 |
2 (building2) to (Junction) | d052 | aab4 |
3 (Junction) to (Breaker) | aab4 | edb3 |
4 (Breaker) to (Station) | edb3 | c037 |
5 (Sation)) to (MainSource) | c037 | 4d3c |
Initial attempt with points to path:
I tried to achieve this Menu Processing / Toolbox / points to path
and Points2One plugin
but it does not maintain the required sequence of connections as shown in Image 2
building- Juntion- breaker-Station-Main source
. Is it possible thatmake line
function in geometry generater will connect the line and save thestart
andending point
of every line in new layer as I tried to manually show here i.stack.imgur.com/25HKy.png ? – Case Msee Jan 14 at 13:03start data
andEnd data
of every line in new layer? For instance, building is connected to junction:attribute 1 in new layer, then junction to breaker: attribute 2 in new layer and so on as I have tried to show here i.stack.imgur.com/25HKy.png – Case Msee Jan 14 at 13:09