[Qgis-developer] Fwd: [Qgis-user] regularly spaced address markers on alternating side of road

Neumann, Andreas a.neumann at carto.net
Wed Jun 29 02:30:54 PDT 2016


On 2016-06-29 10:55, Nyall Dawson wrote:

> On 29 June 2016 at 18:23, Neumann, Andreas <a.neumann at carto.net> wrote: 
> 
>> On 2016-06-29 10:14, Neumann, Andreas wrote:
>> 
>> Hi Nyall,
>> 
>> For marker lines, with regularly spaced markers at a given interval, I'd
>> like to have an index number - 1 to n for each feature.
>> 
>> I mean - for each marker of the feature, starting at 1 at each new feature.
> 
> Ahh - I missed the marker line part. It's actually pretty trivial to
> add as a new expression variable. Multi* geometries have
> @geometry_part_num, so it'd be something pretty similar
> (@marker_line_index?)

Yeah @marker_line_index would work fine, or just @marker_index. 

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? 

Andreas

  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20160629/db9380b3/attachment.html>


More information about the Qgis-developer mailing list