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'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
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.



  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:




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


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.