<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:14, Neumann, Andreas wrote:</p>
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0">
<p>Hi Nyall,</p>
<p>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.</p>
</blockquote>
<p>I mean - for each marker of the feature, starting at 1 at each new feature.</p>
<p> </p>
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0">
<p> </p>
<p>Or - for multi-geometries, it would also be useful to have the index number - the index nr of the nth ring or nth line in a multilinestring.</p>
<p>I think, such an index/counter it should be per feature and not global.</p>
<p>For linestring labeling it would also be interested to regularly place labels, with a counter/iterator and place the labels perpendicular to the tangent.</p>
<p>We could collect some use cases for such indexes to get this into QGIS 3.x, if possible.</p>
<p>Andreas</p>
<p>On 2016-06-29 09:35, Nyall Dawson wrote:</p>
<blockquote 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 17:01, Neumann, Andreas <<a href="mailto:a.neumann@carto.net">a.neumann@carto.net</a>> wrote:
<blockquote style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0;"><br /> Hi,<br /><br /> I am forwarding this interesting symbology / labeling problem to the dev-list, perhaps someone has an idea with the existing symbology options / geometry generators / expressions / some Python magic.<br /><br /> See also <a href="http://lists.osgeo.org/pipermail/qgis-user/2016-June/036842.html">http://lists.osgeo.org/pipermail/qgis-user/2016-June/036842.html</a><br /><br /> What I am personally also interested in, is getting access to the index nr of a marker. If every marker knew  - I am the first, second, third, etc. marker, we could use it in expressions and add dynamic marker content and change properties based on the marker index.</blockquote>
<br /> Do you mean within a multipoint? or across all features?<br /><br /> Nyall<br /><br /><br />
<blockquote style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0;"><br /> Or, we could have per feature counters/iterators that either allow to calculate n marker or label positions on the fly.<br /><br /> Something to consider for QGIS 3.0 ;-)<br /><br /> Andreas<br /><br /> -------- Original Message --------<br /><br /> Subject: [Qgis-user] regularly spaced address markers on alternating side of road<br /> Date: 2016-06-29 07:11<br /> From: Dan Jacobson <<a href="mailto:jidanni@jidanni.org">jidanni@jidanni.org</a>><br /> To: <a href="mailto:qgis-user@lists.osgeo.org">qgis-user@lists.osgeo.org</a><br /><br /><br /><br /> I want to label vectors (roads) with proposed addresses:<br /><br /> 21  23  25  27  29<br /> ==================<br />   22  24  26  28<br /><br /> I suppose I will use the Qchainage plugin and then post-process the<br /> output with a simple perl script to get the exact labels I want (20, 30,<br /> 40...).<br /><br /> I don't suppose I can make them on either side of the road so I suppose<br /> I will have to put them along the centerline.<br /><br /> There are no houses here. Just guide points for government workers if<br /> houses were ever to be built.<br /><br /> I can't use StackExchange to ask this because I don't have enough Karma<br /> and never will.<br /> _______________________________________________<br /> Qgis-user mailing list<br /><a href="mailto:Qgis-user@lists.osgeo.org">Qgis-user@lists.osgeo.org</a><br /> List info: <a href="http://lists.osgeo.org/mailman/listinfo/qgis-user">http://lists.osgeo.org/mailman/listinfo/qgis-user</a><br /> Unsubscribe: <a href="http://lists.osgeo.org/mailman/listinfo/qgis-user">http://lists.osgeo.org/mailman/listinfo/qgis-user</a><br /><br /><br /> _______________________________________________<br /> Qgis-developer mailing list<br /><a href="mailto:Qgis-developer@lists.osgeo.org">Qgis-developer@lists.osgeo.org</a><br /> List info: <a href="http://lists.osgeo.org/mailman/listinfo/qgis-developer">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br /> Unsubscribe: <a href="http://lists.osgeo.org/mailman/listinfo/qgis-developer">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a></blockquote>
</div>
</blockquote>
<br />
<div class="pre" style="margin: 0; padding: 0; font-family: monospace">_______________________________________________<br /> Qgis-developer mailing list<br /><a href="mailto:Qgis-developer@lists.osgeo.org">Qgis-developer@lists.osgeo.org</a><br /> List info: <a href="http://lists.osgeo.org/mailman/listinfo/qgis-developer">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br /> Unsubscribe: <a href="http://lists.osgeo.org/mailman/listinfo/qgis-developer">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a></div>
</blockquote>
<p> </p>
<div> </div>
</body></html>