<!DOCTYPE html><html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /></head><body><div data-html-editor-font-wrapper="true" style="font-family: arial, sans-serif; font-size: 13px;">Hi,<br><br>I have modified your example a little bit. <br><br>I You add REPEATDISTANCE for the text and then a fake label with transparent text above the svg symbol<br>I think that You get something that is close to what you are looking for.<br><br>If You remove the last fake label block You get the old behavior that the text is written above the symbol.<br><br>I have inserted the code in your GIST: <a href="https://gist.github.com/iljya/b1d58f250be11e8972ea6e5628f84b2a">https://gist.github.com/iljya/b1d58f250be11e8972ea6e5628f84b2a</a><br><br>I have been experimenting without repeatdistance and I can agree with You that the results were strange.<br>I thought that the fake label would do the trick, but it didn't<br><br>/Lars Schylberg<br><br>17 februari 2021 kl. 20:05, "Iljya Kalai" <<a target="_blank" tabindex="-1" href="mailto:iljya.kalai@gmail.com?to=%22Iljya%20Kalai%22%20<iljya.kalai@gmail.com>">iljya.kalai@gmail.com</a>> skrev:<br> <blockquote><div><div><div dir="ltr"> <div dir="ltr">Hi Steve,<div></div> <div>I've created a minimal example to demonstrate the issue:</div> <div><a rel="external nofollow noopener noreferrer" target="_blank" tabindex="-1" href="https://gist.github.com/iljya/b1d58f250be11e8972ea6e5628f84b2a">https://gist.github.com/iljya/b1d58f250be11e8972ea6e5628f84b2a</a></div> <div></div> <div>Thanks for your help,</div> <div></div> <div>Iljya</div> </div> <div> <div dir="ltr">Em ter., 16 de fev. de 2021 às 20:41, Steve Lime <<a rel="external nofollow noopener noreferrer" target="_blank" tabindex="-1" href="mailto:sdlime@gmail.com">sdlime@gmail.com</a>> escreveu:</div> <blockquote style="margin: 0px 0px 0px 0.8ex;border-left: 1px solid rgb(204,204,204);padding-left: 1ex"> <div dir="ltr">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</div> <div> <div dir="ltr">On Tue, Feb 16, 2021 at 4:28 PM Iljya Kalai <<a target="_blank" rel="external nofollow noopener noreferrer" tabindex="-1" href="mailto:iljya.kalai@gmail.com">iljya.kalai@gmail.com</a>> wrote:</div> <blockquote style="margin: 0px 0px 0px 0.8ex;border-left: 1px solid rgb(204,204,204);padding-left: 1ex"> <div dir="ltr">Hi,<div></div> <div>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.</div> <div></div> <div><a target="_blank" rel="external nofollow noopener noreferrer" tabindex="-1" href="https://i.imgur.com/C9Ir7dA.png">https://i.imgur.com/C9Ir7dA.png</a></div> <div></div> <div>Thanks!</div> <div>Iljya</div> <div></div> <div></div> <div> <b># </b>Map file extract</div> <div>...</div> <div>LAYER</div> <div>NAME "LINE"<br>TYPE LINE<br>CLASS<br>STYLE<br>COLOR 0 0 0<br>WIDTH 1<br>END<br>LABEL</div> <div>COLOR 150 150 150<br>TYPE truetype<br>SIZE 10<br>ANGLE AUTO<br>POSITION CC</div> <div>TEXT "hello"<br>END<br>END<br>END</div> <div></div> <div>LAYER<br>NAME "SYMBOLS"<br>TYPE POINT<br>...<br>CLASS<br>STYLE<br>SYMBOL "ABC"<br>END<br>END</div> <div>END</div> <div>...</div> </div>_______________________________________________<br>mapserver-users mailing list<br><a target="_blank" rel="external nofollow noopener noreferrer" tabindex="-1" href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a><br><a rel="external nofollow noopener noreferrer" target="_blank" tabindex="-1" href="https://lists.osgeo.org/mailman/listinfo/mapserver-users">https://lists.osgeo.org/mailman/listinfo/mapserver-users</a> </blockquote> </div> </blockquote> </div> </div></div></div></blockquote> <br><br><signature></signature> </div></body></html>