[mapserver-users] transparent symbol clobbering

Ben Brehmer bbrehmer at refractions.net
Thu Jun 26 11:58:05 PDT 2008


Thanks Paul,

Unfortunately no luck. Setting "transparency alpha" makes the 
transparent part around the symbols completely white :)

It seems to be the exact same problem as Jim Clack encountered [1], who 
never found a solution either. Makes me think its actually a bug and not 
intended behavior. Perhaps I'll start digging through the code.

Cheers,

Ben

[1] 
http://www.mail-archive.com/mapserver-users@lists.osgeo.org/msg00569.html


Paul Spencer wrote:
> just a guess, try transparency alpha
>
> Cheers
>
> Paul
>
> On 25-Jun-08, at 7:33 PM, Ben Brehmer wrote:
>
>> I have a very simple mapfile to display a bunch of points as PNG 
>> symbols.
>>
>> Problem is that the transparent part of the symbols are clobbering 
>> each other with the background color (see attached image). What I 
>> would like to see is a whole wack of merged together symbols when 
>> they are overlapping without the background color coming through.
>>
>> Any thoughts as to what could be causing this?
>>
>> Cheers,
>>
>> Ben Brehmer
>>
>>
>>
>> --------------------------------------------------------
>>
>> The relevant parts of my very simple map file:
>>
>> MAP
>>
>> TRANSPARENT ON
>>
>> OUTPUTFORMAT
>>   NAME PNG24
>>   DRIVER "GD/PNG"
>>   MIMETYPE "image/png"
>>   EXTENSION "png"
>>   IMAGEMODE RGBA
>>   TRANSPARENT ON
>> END
>>
>> LAYER
>>   TRANSPARENCY 100
>>   CLASS
>>     STYLE
>>        SYMBOL "../../htdocs/images/markers/multi_arrow.png"
>>        SIZE 32
>>     END #STYLE
>>   END #CLASS
>> ....
>> ..
>> .
>>
>> <transparent_symbol_issue.jpg>_______________________________________________ 
>>
>> mapserver-users mailing list
>> mapserver-users at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>
>
> __________________________________________
>
>    Paul Spencer
>    Chief Technology Officer
>    DM Solutions Group Inc
>    http://www.dmsolutions.ca/
>




More information about the MapServer-users mailing list