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

Rahkonen Jukka (MML) jukka.rahkonen at maanmittauslaitos.fi
Sat Feb 26 06:19:08 PST 2022


Hi,

Have you tried to use two filled circle symbols for making the outline effect, one below and the other one above? Or to use png image as a symbol?

-Jukka Rahkonen-

Lähettäjä: MapServer-users <mapserver-users-bounces at lists.osgeo.org> Puolesta Kyle Qian
Lähetetty: lauantai 26. helmikuuta 2022 1.58
Vastaanottaja: Jason Snyder <mapserver-users at lists.osgeo.org>
Aihe: Re: [mapserver-users] How to limit the width of the outline when the symbol size changes with the map scale?

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<mailto: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/198a2655/attachment.html>


More information about the MapServer-users mailing list