2

I have a vector of lines, in which some of them are isolated from the rest of the lines, but I need that every line is connected to at least another one, so as to obtain a unique connected path.

This is a part of the network, where there are isolated (black) lines:Disconnected_network

I would like to know if there is a tool that could connect automatically those lines in order to obtain a unique path (for example, as I shown with the evident handmade red lines)

1 Answer 1

1

You could try using the Join multiple lines plugin which allows you to select multiple lines and it will automatically create a new line from the existing vertices. You can install this from the menubar:

Plugins > Manage and Install Plugins

Example:

Select your disconnected lines (highlighted in yellow):

Disconnected lines

Then click the icon for the Join multiple lines plugin:

New connected line

Your Answer

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

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