[mapserver-users] Color filled transparent polygons

Reinoud Bokhorst bokhorst at argoss.nl
Fri Sep 26 02:46:38 EDT 2008


Thank you for your answers. 
At the time I installed mapserver 5.2, I didn't manage to compile in AGG support so I left it out. Of course that is then just the feature you need... I'll have to give it a retry.

Reinoud


Fawcett, David wrote:
> Of course Thomas would have had the right answer!  I happily stand
> corrected.
> 
> The opacity of overlapping symbols is cumulative.
> 
> David.
> 
> -----Original Message-----
> From: mapserver-users-bounces at lists.osgeo.org
> [mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of thomas
> bonfort
> Sent: Thursday, September 25, 2008 4:48 AM
> To: Reinoud Bokhorst
> Cc: mapserver-users at lists.osgeo.org
> Subject: Re: [mapserver-users] Color filled transparent polygons
> 
> 
> yes,
> from version 5.2 AND with AGG output, you can obtain this by setting the
> OPACITY keyword at the STYLE level.
> 
> cheers,
> thomas
> 
> On Thu, Sep 25, 2008 at 11:20, Reinoud Bokhorst <bokhorst at argoss.nl>
> wrote:
>> Hi,
>> I have a PostGIS table with about 12000 polygons scattered around the 
>> globe. The polygons outline areas where I have particular model data. 
>> To get an impression about the data density, I want to plot the 
>> polygons with a fill color and a high transparency value. This would 
>> mean that the colour on the map gets darker depending on how many 
>> polygons overlap at a particular location because the color values 
>> will add up. I can do this for example in QGIS but not in Mapserver. 
>> It requires that the polygons themselves are drawn using a 
>> transparency value but it seems that mapserver first draws all 
>> polygons and them applies the transparency value to the resulting 
>> image. Is there a solution for this?
>>
>> Reinoud Bokhorst
>>
>>
>> _______________________________________________
>> mapserver-users mailing list
>> mapserver-users at lists.osgeo.org 
>> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>>
> _______________________________________________
> 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