[mapserver-users] style level opacity issue

thomas bonfort thomas.bonfort at gmail.com
Thu Nov 17 11:16:45 PST 2011


I've just run a quick check and opacity on the style object works
correctly. please come up with a self contained test case that
reproduces your issue.

regards,
thomas

On Thu, Nov 17, 2011 at 18:15, Huotari, John B   (RCIS)
<John.Huotari at rcis.com> wrote:
> 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-bounces at lists.osgeo.org
> [mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of
> lists at killface.org
> Sent: Thursday, November 17, 2011 10:02 AM
> To: mapserver-users at 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 at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>
>



More information about the MapServer-users mailing list