Lars, I think this is perfect as an example to get started with!
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. The blur(7) looks like the key to scaling the width, correct? Is there a better doc set on COMPOSITE than here: https://mapserver.org/mapfile/composite.html Thanks Bobb From: MapServer-users <[email protected]> on behalf of Lars Schylberg <[email protected]> Date: Friday, August 4, 2023 at 9:22 AM To: "[email protected]" <[email protected]> Subject: Re: [MapServer-users] Looking for Examples of COMPOSITE Think Before You Click: This email originated outside our organization. Hi Bob, 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. https://github.com/LarsSchy/FOSS4G-2022/blob/main/layer_comp2.map. The example can be run with map2img. The presentation is here: https://github.com/LarsSchy/FOSS4G-2022/blob/main/MapServer_Make-beautiful-maps_1.03.pdf Have fun / Lars Schylberg Den 2023-08-03 kl. 19:07, skrev Bob Basques: > 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" > > <[email protected] on behalf of > ><mailto:[email protected]> > [email protected]<mailto:[email protected]>> 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 >> > <https://teams.microsoft.com/l/chat/0/[email protected]><https://teams.microsoft.com/l/chat/0/[email protected]> > > >> > >> *PW19-S295-C024* >> >> >> > _______________________________________________ MapServer-users >> mailing > list [email protected]<mailto:[email protected]> > >> https://lists.osgeo.org/mailman/listinfo/mapserver-users > > _______________________________________________ MapServer-users > mailing > list [email protected]<mailto:[email protected]> > > https://lists.osgeo.org/mailman/listinfo/mapserver-users > > > _______________________________________________ MapServer-users > mailing > list [email protected]<mailto:[email protected]> > > https://lists.osgeo.org/mailman/listinfo/mapserver-use
_______________________________________________ MapServer-users mailing list [email protected] https://lists.osgeo.org/mailman/listinfo/mapserver-users
