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

1 Answer
1

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: