<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /></head><body style='font-size: 10pt; font-family: Verdana,Geneva,sans-serif'>
<p>On 2016-06-29 10:55, Nyall Dawson wrote:</p>
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0">
<div class="pre" style="margin: 0; padding: 0; font-family: monospace">On 29 June 2016 at 18:23, Neumann, Andreas <<a href="mailto:a.neumann@carto.net">a.neumann@carto.net</a>> wrote:
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0">On 2016-06-29 10:14, Neumann, Andreas wrote:<br /><br /> Hi Nyall,<br /><br /> For marker lines, with regularly spaced markers at a given interval, I'd<br /> like to have an index number - 1 to n for each feature.<br /><br /> I mean - for each marker of the feature, starting at 1 at each new feature.</blockquote>
<br /> Ahh - I missed the marker line part. It's actually pretty trivial to<br /> add as a new expression variable. Multi* geometries have<br /> @geometry_part_num, so it'd be something pretty similar<br /> (@marker_line_index?)</div>
<div class="pre" style="margin: 0; padding: 0; font-family: monospace"> </div>
</blockquote>
<div class="pre" style="margin: 0; padding: 0; font-family: monospace"> </div>
<div class="pre" style="margin: 0; padding: 0; font-family: monospace"> </div>
<p>Yeah @marker_line_index would work fine, or just @marker_index.</p>
<p>Would it be possible to do data-defined overrides of certain marker properties of individual markers, based on this @marker_line_index? Say each odd index would have different offset as each even index - or change color or font-marker content based on this index?</p>
<p>Andreas</p>
<div> </div>
</body></html>