Thanks Lars! Based on your workaround, it seems to me that line labeling
works something like this:
1. candidate positions are computed along the line using repeat distance
and other factors
2. the candidate positions that are not possible due to collisions with
other labels are excluded
Hi,
I have modified your example a little bit.
I You add REPEATDISTANCE for the text and then a fake label with transparent
text above the svg symbol
I think that You get something that is close to what you are looking for.
If You remove the last fake label block You get the old behavior that
Hi Steve,
I've created a minimal example to demonstrate the issue:
https://gist.github.com/iljya/b1d58f250be11e8972ea6e5628f84b2a
Thanks for your help,
Iljya
Em ter., 16 de fev. de 2021 às 20:41, Steve Lime
escreveu:
> Hmmm... Point symbols are automatically considered as part of label
>
Hmmm... Point symbols are automatically considered as part of label
placement and collision detection. Since they are drawn first, their
placement is cached and labels are placed around them. Can you share
specifics on your layers and symbols - perhaps a small test case? --Steve
On Tue, Feb 16,
Hi,
On my map, labels sometimes overlap symbols. Is there a way to avoid this,
or are only label/label conflicts avoided? I tried both CC and AUTO for
LAYER::CLASS::LABEL::POSITION.
https://i.imgur.com/C9Ir7dA.png
Thanks!
Iljya
*# *Map file extract
...
LAYER
NAME "LINE"
TYPE LINE