[mapserver-users] Transparent (OPACITY) color(S)

Basques, Bob (CI-StPaul) bob.basques at ci.stpaul.mn.us
Mon Dec 2 09:13:45 PST 2013


All,

Last week I was trying to set a color to transparent in a mapfile, but it wasn't working the way I expected.

I have a polygon layer, on top of an Aerial Photo base, let's call it a lake, with a single poly in it.  I have another polygon layer with what we'll call Islands, I want to color fill the lake and apply the transparent color to the islands AFTER rendering to see through the filled lake poly to the underlying aerial layer.  I tried all sorts of combinations of TRANSPARENT, OPACITY, OUTPUTFOMAT, etc. in the MAP and /or the LAYER elements without success.  I recall this used to be possible with older versions of MapServer.  But now it seems that OUTPUTFORMAT has been brought into the equation for recent versions.

Hmm, maybe I'm trying to cheat things too much, or I need to read up on NEW Mapserver some more.    :c)

Anyone have an example of MAPFILE for accomplishing this.

Thanks

Bobb


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20131202/9c126019/attachment.html>


More information about the mapserver-users mailing list