[Qgis-developer] Fwd: [Qgis-user] regularly spaced address markers on alternating side of road
Neumann, Andreas
a.neumann at carto.net
Wed Jun 29 01:14:13 PDT 2016
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.
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.
I think, such an index/counter it should be per feature and not global.
For linestring labeling it would also be interested to regularly place
labels, with a counter/iterator and place the labels perpendicular to
the tangent.
We could collect some use cases for such indexes to get this into QGIS
3.x, if possible.
Andreas
On 2016-06-29 09:35, Nyall Dawson wrote:
> On 29 June 2016 at 17:01, Neumann, Andreas <a.neumann at carto.net> wrote:
>
>> Hi,
>>
>> 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.
>>
>> See also http://lists.osgeo.org/pipermail/qgis-user/2016-June/036842.html
>>
>> 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.
>
> Do you mean within a multipoint? or across all features?
>
> Nyall
>
>> Or, we could have per feature counters/iterators that either allow to calculate n marker or label positions on the fly.
>>
>> Something to consider for QGIS 3.0 ;-)
>>
>> Andreas
>>
>> -------- Original Message --------
>>
>> Subject: [Qgis-user] regularly spaced address markers on alternating side of road
>> Date: 2016-06-29 07:11
>> From: Dan Jacobson <jidanni at jidanni.org>
>> To: qgis-user at lists.osgeo.org
>>
>> I want to label vectors (roads) with proposed addresses:
>>
>> 21 23 25 27 29
>> ==================
>> 22 24 26 28
>>
>> I suppose I will use the Qchainage plugin and then post-process the
>> output with a simple perl script to get the exact labels I want (20, 30,
>> 40...).
>>
>> I don't suppose I can make them on either side of the road so I suppose
>> I will have to put them along the centerline.
>>
>> There are no houses here. Just guide points for government workers if
>> houses were ever to be built.
>>
>> I can't use StackExchange to ask this because I don't have enough Karma
>> and never will.
>> _______________________________________________
>> Qgis-user mailing list
>> Qgis-user at lists.osgeo.org
>> List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
>> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user
>>
>> _______________________________________________
>> Qgis-developer mailing list
>> Qgis-developer at lists.osgeo.org
>> List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
>> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20160629/3a650ec4/attachment.html>
More information about the Qgis-developer
mailing list