Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

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
add comment

2 Answers

up vote 5 down vote accepted

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

share|improve this answer
1  
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
1  
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
1  
check rendering order. Terminology seems inconsistent unfortunately. –  underdark Nov 9 '12 at 16:40
add comment

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
add comment

Your Answer

 
discard

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.