[mapserver-users] Labels colliding with symbols

Iljya Kalai iljya.kalai at gmail.com
Tue Feb 16 14:28:25 PST 2021


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
    CLASS
      STYLE
        COLOR 0 0 0
        WIDTH 1
      END
      LABEL
        COLOR 150 150 150
        TYPE truetype
        SIZE 10
        ANGLE AUTO
        POSITION CC
        TEXT "hello"
      END
    END
  END

LAYER
    NAME "SYMBOLS"
    TYPE POINT
    ...
    CLASS
        STYLE
          SYMBOL "ABC"
       END
    END
END
...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20210216/85b0913e/attachment.html>


More information about the mapserver-users mailing list