On 2016-06-29 10:55, Nyall Dawson wrote: > On 29 June 2016 at 18:23, Neumann, Andreas <[email protected]> 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
_______________________________________________ Qgis-developer mailing list [email protected] List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer
