1

I have a shapefile which comprises a number of lines, each representing a bus route. I'm wanting to create a new bus route which is the same as an existing line to a certain point, but then branches off and follows a different route (see image below).

enter image description here

What's the best way to do this?

I'll be doing it numerous times. I'm thinking the best way is to draw a polygon around the parts I want and then clip using the same polygon, and dissolving the result. I don't really want to draw new lines by snapping the vertices to existing routes as each route has thousands of vertices.

I am using QGIS 3.2.3.

PolyGeo
65.5k29 gold badges115 silver badges350 bronze badges
asked Dec 11, 2018 at 23:48

2 Answers 2

3

You can use the Snapping toolbar and click on Enable tracing to trace the existing polylines this much more easier to draw a new line using existing lines'

enter image description here

Existing line'

enter image description here

Adding new line (purple color)

enter image description here

answered Dec 12, 2018 at 0:31
0

I think the easiest way is to Split Features and merge later.
For immediate access activate the Advanced Digitizing and Snapping toolbars.
GabrielDeLuca-Routes_1

Select Split Features and draw a line that cuts both entities through their intersection.
Make sure you have the option "Enable Snapping on Intersection" active.
GabrielDeLuca-Routes_2

The result is two new features, which retain the attributes of the previous ones (if you had had one line selected at the moment of the split, then that line would be broken, leaving the other line as it was).
GabrielDeLuca-Routes_3

Then, select the sections you want to join and Merge Selected Features.
You can assign to the new entity the attribute of any of the above or a new one.
GabrielDeLuca-Routes_4

A new entity will be created, disappearing the originals.
GabrielDeLuca-Routes_5

If the lines were in different layers, you should cut first one and then the other. But to be able to join them again each section must be in the same layer.

answered Dec 13, 2018 at 1:43

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

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

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.