I have these lines (blues lines) that extract from a raster and need to unite them automatically (red lines). Currently I'm doing it manually using a plugin (Join multiple lines) but it's very tiring. Is there any way to grow and join the lines automatically? I thought of joining based on the angle of inclination but I do not know how to proceed. I use QGIS and Ecognition.

What I have:

What i have:

What I want:

What i want

  • By merging rows, do you mean merge the line segments to form continuous lines? But still have each individual line be separate from the one below? – Roberto Ribeiro Dec 29 '17 at 22:42
  • What are the red and blue lines in your diagram? Which lines are you trying to "unite", and with what? Are you trying to figure out which blue lines the red segments are on? – Spacedman Dec 30 '17 at 9:49
  • I made changes to the question to make it clearer. – hugonbg Dec 31 '17 at 1:37

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.