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:
|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