[mapserver-users] layer mask without clipping

Lars Lingner gislars+list at googlemail.com
Tue Feb 25 00:58:09 PST 2014


Hello,

I really like the MapServer layer mask feature. Is there a way that
MapServer doesn't clip the mask, instead just setting a opacitiy / color
value?

I'm getting the result by rendering two passes with mask and inverted
mask. The latter is using a white opacity layer on top. Afterwards I can
stack the images together.
The is working well, as long as there are no labels rendered along the
mask boundary. If they are, then they are not clipped.

Best wishes,

Lars


More information about the mapserver-users mailing list