Hi,

Just a quick example. Please look at the GIST I created.

https://gist.github.com/LarsSchy/610fc4cf3ed91ba0113b3c215481615b
Jukka is right two circle symbols on top of each other i possible the best 
solution. That is circle 3, 4 and 5.
In circle 2 I am drawing the outline first and then the middle. It is kind the 
same.
Circle 4 and 5 I am drawing the red outline with translucent color: COLOR 
"#FF000080"
Circle 5 is with a shadow with color "#80808080". That is grey with 50 % 
transparency.
The 80 is 128 in hex.

Run the example with: shp2img -m point_examples.map -o point_examples.png
My MapServer version this evening was: MapServer version 7.2.2

I guess that these should behave differently when You zoom.

Have fun / Lars Schylberg
26 februari 2022 kl. 15:19, "Rahkonen Jukka (MML)" 
<jukka.rahko...@maanmittauslaitos.fi 
(mailto:jukka.rahko...@maanmittauslaitos.fi?to=%22Rahkonen%20Jukka%20(MML)%22%20<jukka.rahko...@maanmittauslaitos.fi>)>
 skrev:
        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-boun...@lists.osgeo.org 
(mailto:mapserver-users-boun...@lists.osgeo.org)> Puolesta Kyle Qian
Lähetetty: lauantai 26. helmikuuta 2022 1.58
Vastaanottaja: Jason Snyder <mapserver-users@lists.osgeo.org 
(mailto:mapserver-users@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 <kyleq...@gmail.com (mailto:kyleq...@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 
(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.
_______________________________________________
MapServer-users mailing list
MapServer-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to