1

I want to find which way direction to go based on two points and line segment. I have two layer line layer and point layer.user selects the two points in lines layer. I have to find which direction to go from first point to second point based on line segments to collect intermediate points.

All the lines in line layer is breaked every point to point.I want only one direction .

I have already tried create the buffer for first point to get inital two lines and loop through direction left or right until second point found. It takes more time.

How can I do that?

enter image description here.

closed as off-topic by ahmadhanb, Vince, LaughU, J.R, Andre Silva Apr 2 at 13:24

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "When seeking help to debug/write/improve code always provide the desired behavior, a specific problem/error and the shortest code (as formatted text, not pictures) needed to reproduce it in the question body. Providing a clear problem statement and a code attempt helps others to help you." – ahmadhanb, Vince, LaughU, Andre Silva
If this question can be reworded to fit the rules in the help center, please edit the question.