2

I have line and point layer. I connected line layer with points using connect nodes to line in processing toolbox. After creating a connection line (green color), I used line intersection from processing toolbox to extract the nodes/vertex of each starting point of the connection line as shown in red color. The problem here is:

  • The line intersection generates nodes for every intersection of line as circled with black color in image. I only want to extract nodes of lines which connect point and a line layer.
  • I also tried Extract specific vertices tool as suggested in previous questions (here), but it does the same thing as line intersection function.

enter image description here

2
  • 5
    May be you can first select the lines which have a blue point connection and then make your intersection only on the selected lines, which will avoid intersections with red-red.
    – eurojam
    Dec 16, 2020 at 8:58
  • You say you have a point and a line layer and than connect nodes to line, thus you create another line. However, on your screenshot I see only one line layer. Can you explain? As well, I can't find a tool in the tollbox named connect nodes to line - which one are you using?
    – Babel
    Dec 16, 2020 at 21:29

1 Answer 1

2

the tool 'Extract specific vertices' can fit your demand. but you must set parameter 'vertex indices' to '0,-1' telling the program to choose the first point and the last point

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.