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 found the latest QGIS has a great tool to create complex styles, however looks like one small but very useful thing is missing, or I can't find it. I'm trying to create a line style something like "- x - x -". I can do it in various ways, but none of them gives right results. The problem is that I need to set starting point (shift) either for "-" or "x", so to draw it not from 0. If I set X coordinate shift for the marker it works ok, except line bends, where marker can go outside the line (vertex).

QGIS style:

QGIS style

ArcMap style:

ArcMap style

Is there is something to do with it?

share|improve this question

1 Answer 1

up vote 4 down vote accepted

You can adjust the phase of your dash pattern by inserting a row in the Dash space pattern editor with a Dash of 0 length and a Space of half the length you want between your dashes. In the second row, you set the full Dash length, and half the desired Space length again.

For example, if you set the Marker line to use an interval of 10, you could set your dash pattern to 0, 2.5, 5, 2.5 like in the following screenshot:

Resulting in this:

share|improve this answer
That's an elegant solution which will be useful to me too. I tried to make the dashed line using symbols, but of course these won't "bend". Thanks. N. –  nhopton Jan 28 '13 at 16:45
+1 nice solution –  vinayan Jan 29 '13 at 2:51
Thank you Jake. It really solves the problem. I will do futher experiments with other styles as well. –  AlexSV Jan 31 '13 at 15:19

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.