[mapserver-users] Transparency of overlapping PNG-symbols

thomas bonfort thomas.bonfort at gmail.com
Fri Apr 8 10:52:53 EDT 2011


Given the artifact, I'd say that you are using the GD renderer. Are
you sure it's the AGG one that is being selected when you create that
image?

--
thomas

2011/4/8 Lime, Steve D (DNR) <steve.lime at state.mn.us>:
> Can you share the batnight.png file? Any difference if you remove "TRANSPARENT 0"? It shouldn't have any
> effect since transparency is picked up from the pixmap. By chance does this work ok in 6.0?
>
> Steve
>
> -----Original Message-----
> From: mapserver-users-bounces at lists.osgeo.org [mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of Stephan Holl
> Sent: Friday, April 08, 2011 8:43 AM
> To: mapserver-users at lists.osgeo.org
> Cc: Björn Schilberg
> Subject: [mapserver-users] Transparency of overlapping PNG-symbols
>
> Dear list,
>
> while developing an application with PNG-symbols rendered on top of a map I have encountered a problem if the PNG-symbols overlap each other; artefacts are present (see attachment).
>
> The Symbols are defined as following:
> SYMBOL
>  NAME "Batnight"
>  TYPE PIXMAP
>  IMAGE "./images/batnight.png"
>  TRANSPARENT 0
> END
>
> Used outputformat:
> OUTPUTFORMAT
>    NAME agg
>    DRIVER AGG/PNG
>    IMAGEMODE RGB
> END
>
> Is there an easy way to let them disappear or is this a (perhaps known) bug in MapServer?
>
> I am using the AGG-renderer and MS 5.6.6 though.
>
> TIA
>
>        Stephan
>
> --
> Stephan Holl <stephan.holl at intevation.de> | Tel.: +49 (0)541-33 508 3663 Intevation GmbH, Neuer Graben 17, 49074 OS  |  AG Osnabrück - HR B 18998
> Geschäftsführer:  Frank Koormann, Bernhard Reiter, Dr. Jan-Oliver Wagner
>
> _______________________________________________
> 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