5

I want to tell QGIS where to start with a marker, like: use 3 markers, start at positions 0, 2, 4, and apply an interval of 12 to each marker.

However, after searching for hours, I haven't found a way to deal with this issue.

enter image description here

EDIT:

Regardings Nathan's answer: This happens if x-offset for markers is used:

enter image description here

2 Answers 2

3

You sure can.

First you need to add a Marker symbol to your line symbol and stack the symbols like so:

enter image description here

  • The first Simple Marker has a X offset of 0
  • The second Simple Marker has a X offset of 2
  • The third Simple Marker has a X offset of 4

Click on the Marker Line symbol layer and set the with interval value to what ever looks good

enter image description here

6
  • 2
    This will only work for a straight line - if the line bends, the offsetted markers will not align along the line! See the image in the post-edit.
    – Kay
    Feb 13, 2014 at 12:42
  • It would be good to have an option "offset along line". Feb 13, 2014 at 12:53
  • So, it is not possible? I couldn't imagine that..
    – Kay
    Feb 13, 2014 at 12:58
  • 3
    Yes it's a known issue.
    – Nathan W
    Feb 13, 2014 at 13:27
  • 2
    Cheerio! ..QGIS 2.6 has new feature 'Offset along line'!
    – Kay
    Dec 17, 2014 at 9:27
3

I just found a workaround which works for single color simple markers, using a custom dash pattern with round cap style and 0,0001 long dashes, which will look like dots:

enter image description here

Damnit, this was a hard one..

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.