Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am footling around with Quantum GIS and the British OS Strategi dataset. If I render the roads with a simple line style they look fine:

enter image description here

However, if I apply something slightly fancier, it looks wrong, because the style is applied to each segment of the road as opposed to the whole road (as we perceive it), as seen in the white lines on the blue motorway below:

enter image description here

How can I merge these segments together, or failing that force QGIS to treat them as one line? I'm not using the data for navigation so I don't mind if the segments are lost.

share|improve this question
up vote 7 down vote accepted

Activate symbol layers in the advanced options of your road style.

share|improve this answer
Wow, that was easy. Thanks very much. – ElendilTheTall Nov 9 '12 at 13:44
@ElendilTheTall You're welcome. Please accept the answer if your problem is solved. – underdark Nov 9 '12 at 13:46
Done - it wouldn't let me for a while. – ElendilTheTall Nov 9 '12 at 14:05
How can I do this with rule-dependent styles? I want, for example, to apply a slightly different style to 4-lane roads, via their code. I can do this with rule-based styles, but they then revert back to being segmented. – ElendilTheTall Nov 9 '12 at 16:34
check rendering order. Terminology seems inconsistent unfortunately. – underdark Nov 9 '12 at 16:40

To make your fancy style road, you can stack two lines with offsets, rather than a thin line on a large. You will have two beautiful lines without interruption even if you have multiple segments.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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