<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
span.EmailStyle20
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style>
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal">Lars,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I think this is perfect as an example to get started with!  <o:p>
</o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I still need to figure out (for sure) how to scale the width of the actual blur though.  Even if there isn’t a method for that, I can fake it with a hidden line/width if needed.   I need to represent a scaled line width on top of a variable
 width blur (as the tolerance), if that makes any sense.  In your example it looks like the blur width is directly proportional to the line width, but I would need to experiment some to be sure. I need the blur to be scalable in map units, which might be the
 hard part but maybe those values are all honored across all unit values.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">The <span style="font-family:"Courier New"">blur(7)</span> looks like the key to scaling the width, correct?   Is there a better doc set on COMPOSITE than here:
<a href="https://mapserver.org/mapfile/composite.html">https://mapserver.org/mapfile/composite.html</a><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Thanks<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Bobb<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal" style="margin-left:.5in"><b><span style="font-size:12.0pt;color:black">From:
</span></b><span style="font-size:12.0pt;color:black">MapServer-users <mapserver-users-bounces@lists.osgeo.org> on behalf of Lars Schylberg <lars.schylberg@blixtmail.se><br>
<b>Date: </b>Friday, August 4, 2023 at 9:22 AM<br>
<b>To: </b>"mapserver-users@lists.osgeo.org" <mapserver-users@lists.osgeo.org><br>
<b>Subject: </b>Re: [MapServer-users] Looking for Examples of COMPOSITE<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in"><o:p> </o:p></p>
</div>
<table class="MsoNormalTable" border="1" cellpadding="0" style="margin-left:.5in;background:#E2F700;border:solid black 1.0pt">
<tbody>
<tr>
<td style="border:none;padding:.75pt .75pt .75pt .75pt">
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><strong><span style="font-family:"Calibri",sans-serif;color:#FF3333">Think Before You Click:
</span></strong><span style="color:black">This email originated <strong><span style="font-family:"Calibri",sans-serif">outside
</span></strong>our organization.</span><o:p></o:p></p>
</td>
</tr>
</tbody>
</table>
<p class="MsoNormal" style="margin-left:.5in"><o:p> </o:p></p>
<div>
<p class="MsoNormal" style="margin-left:.5in"><o:p> </o:p></p>
<p style="margin-left:.5in">Hi Bob,<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">I have an example how to use COMPOSITE and blur effects on a line and other objects that I presented at FOSS4G last year in Italy.
<o:p></o:p></p>
<p style="margin-left:.5in"><a href="https://github.com/LarsSchy/FOSS4G-2022/blob/main/layer_comp2.map">https://github.com/LarsSchy/FOSS4G-2022/blob/main/layer_comp2.map</a>.<o:p></o:p></p>
<p style="margin-left:.5in">The example can be run with map2img.<o:p></o:p></p>
<p style="margin-left:.5in">The presentation is here:  <a href="https://github.com/LarsSchy/FOSS4G-2022/blob/main/MapServer_Make-beautiful-maps_1.03.pdf">
https://github.com/LarsSchy/FOSS4G-2022/blob/main/MapServer_Make-beautiful-maps_1.03.pdf</a><o:p></o:p></p>
<p style="margin-left:.5in">Have fun / Lars Schylberg<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"><br>
Den 2023-08-03 kl. 19:07, skrev Bob Basques:<br>
> Yes this approach would work. I'm really trying to shoot for the > Blur effect though the further away from the line it gets, it fades > away. There will probably be some sort of combination of what you > describe here, with some light dashed lines at the
 extreme of the > shadow as well as the shadow. > > On 8/3/23, 11:16 AM, "MapServer-users on behalf of Scott" >
<a href="mailto:mapserver-users-bounces@lists.osgeo.orgonbehalfof"><mapserver-users-bounces@lists.osgeo.org on behalf of ></a>
<a href="mailto:public@postholer.com">public@postholer.com</a>> wrote: > > Think Before You Click: This email originated outside our > organization. > > > Can you use color and outline color at specified width? Such as: > > CLASS NAME 'state' EXPRESSION ("[rttyp]"
 eq "S") MAXSCALEDENOM > 1500000 STYLE COLOR '#ffffff' WIDTH 8 OUTLINECOLOR '#0e3e09' > OUTLINEWIDTH 2 END END > > You could also add transparency to your outline color. > > > On 8/3/23 08:45, Bob Basques wrote: >> Hello all, >> >> I’m looking for example uses
 of the COMPOSITE function in >> MapFiles. I’m specifically in need of a way to shadow a line, to >> scale, on both sides as a way of indicating a tolerance to each >> side of the line. >> >> Anyone have an example of a COMPOSITE block for accomplishing this,
 >> or even something close (one side)? >> >> Thanks >> >> Bobb >> >> Get me in Teams >>
<a href="https://teams.microsoft.com/l/chat/0/0?users=bob.basques@ci.stpaul.mn.us">
<https://teams.microsoft.com/l/chat/0/0?users=bob.basques@ci.stpaul.mn.us></a> > >> > >> *PW19-S295-C024* >> >> >> _______________________________________________ MapServer-users >> mailing list
<a href="mailto:MapServer-users@lists.osgeo.org">MapServer-users@lists.osgeo.org</a> >>
<a href="https://lists.osgeo.org/mailman/listinfo/mapserver-users">https://lists.osgeo.org/mailman/listinfo/mapserver-users</a> > _______________________________________________ MapServer-users > mailing list
<a href="mailto:MapServer-users@lists.osgeo.org">MapServer-users@lists.osgeo.org</a> >
<a href="https://lists.osgeo.org/mailman/listinfo/mapserver-users">https://lists.osgeo.org/mailman/listinfo/mapserver-users</a> > > _______________________________________________ MapServer-users > mailing list
<a href="mailto:MapServer-users@lists.osgeo.org">MapServer-users@lists.osgeo.org</a> >
<a href="https://lists.osgeo.org/mailman/listinfo/mapserver-use">https://lists.osgeo.org/mailman/listinfo/mapserver-use</a><o:p></o:p></p>
</div>
</div>
</body>
</html>