SLD and transparent polygon fill

Sean Gillies sgillies at FRII.COM
Thu Dec 23 12:12:41 EST 2004


On Dec 23, 2004, at 9:59 AM, Bart van den Eijnden wrote:

> Hi list,
>
> is it possible using Mapserver to have a transparent polygon fill
> through
> SLD?
>
> E.g.:
>
> <Fill>
>   <CssParameter name="fill">#ff0000</CssParameter>
>   <CssParameter name="fill-opacity">0.5</CssParameter>
> </Fill>
>
> If not, is there a work-around to accomplish this using SLD?
>
> Thanks in advance.
>
> Best regards,
> Bart
>
>

One problem you will run into is that MapServer only has layer-level
transparency and cannot have transparency defined at the style
(symbolizer) level.  I'm not sure how the MapServer OGC SLD programmers
have worked around this.

Sean

--
Sean Gillies
sgillies at frii dot com
http://users.frii.com/sgillies



More information about the mapserver-users mailing list