[mapserver-users] How to limit the width of the outline when the symbol size changes with the map scale?

Kyle Qian kyleqian at gmail.com
Fri Feb 25 15:57:55 PST 2022


The map file I used is:

CLASS
        NAME "Populated Places"
        STYLE
            SYMBOL "PT-1"
            COLOR "#00A2E8"
            OPACITY 100
            MINSIZE 10
            MAXSIZE 30
            SIZE 16.5
            OFFSET 0 0
            OUTLINECOLOR "#FF0000"
            OUTLINEWIDTH 5
        END
    END
    SYMBOLSCALEDENOM 68247.34668319309

  SYMBOL
    NAME "PT-1"
    TYPE ellipse
    FILLED true
    POINTS 5 5 END
  END

Kyle Qian <kyleqian at gmail.com> 于2022年2月26日周六 07:56写道:

> Hi, when I set up a map for points, I use SYMBOLSCALEDENOM to change
> the size of points and MIN/MAXSIZE to limit it, but there seems to be no
> way to control the width of the outline of points. The outline seems to
> keep getting bigger as the map zooms in. The image below is the result map
> as the map zooms in:
> https://pasteboard.co/JC19o7caYHHk.png
> Is there any way to solve this problem?
> In addition, it seems that there is no way to set the transparency of the
> outline separately. Is it necessary to use a separate STYLE to implement it
> with GEOMTRANSFORM?
> Thanks.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20220226/f4aa69bd/attachment-0001.html>


More information about the MapServer-users mailing list