I’d likewise like to see an answer to this as I’ve thus far been unable to make opacity work at the style level. I’ve worked around that by using the opacity at the layer level instead, which might be a suitable solution in your situation.
From: mapserver-users-boun...@lists.osgeo.org [mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of li...@killface.org Sent: Thursday, November 17, 2011 10:02 AM To: mapserver-users@lists.osgeo.org Subject: [mapserver-users] style level opacity issue I'm trying to render a single vector layer that has overlapping polygons, but I cant seem to get the settings correct for what I want. There are overlapping polygons on the layer, and I would like them to each be drawn transparently so that I can see the overlapping regions. However, no matter what I try I can't seem to get this effect and the rendering will make the shapes draw over each other. I'm using Mapserver 6.0.1 OUTPUTFORMAT NAME "png" DRIVER AGG/PNG MIMETYPE "image/pngt" IMAGEMODE RGBA EXTENSION "png" FORMATOPTION "GAMMA=1.0" TRANSPARENT TRUE END I have a very simple class for my layer CLASS STYLE OPACITY 25 COLOR [color] OUTLINECOLOR -1 -1 -1 ANTIALIAS TRUE END LABEL COLOR 0 0 255 OUTLINECOLOR 250 250 250 OUTLINEWIDTH 3 FONT stMYFont TYPE truetype SIZE 9 POSITION AUTO PARTIALS FALSE MINFEATURESIZE AUTO END END
_______________________________________________ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users