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'm looking to style some lines in QGIS to look like the steps in OpenStreetMap's default style. Actually, I'm styling those same steps on my own machine.

steps from OSM

Basically, unless I'm missing something, I need to make a dashed line that is wide with very short dashes.

I've tried setting a custom dash pattern, but qgis doesn't seem to take values of less than 1 because the size of the dash doesn't shrink after that point. So I can get a custom dash pattern with a dash that is as short as it is wide, but no shorter. Is there a way past this, or some other way to style the lines to look like steps?

share|improve this question

1 Answer 1

up vote 6 down vote accepted

check out this video here which is for creating railway. i think you can do your needs with waching it.

railway

Basically:

  1. Double click for Style
  2. in sympol properties choose Marker Line from Symbol Layer Type
  3. change your marker to short line with size 2 and interval 1
  4. that is all

Settings from qgis:

marker

Result:

markers

i hope it helps you...

share|improve this answer
    
Exactly what I was looking for. Thank you! –  Nate Wessel Dec 20 '12 at 5:31

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.