[mapserver-users] color range fade to transparent.

Robert Sanson Robert.Sanson at asurequality.com
Tue Jun 2 14:25:05 PDT 2015


Hi Bob

You need an alpha (opacity) value that would go from 1 to 0. 

Can you set an opacity value in your database as an attribute that is calculated from age? Then maybe you could set the OPACITY in your layer to read it from the database column?

Your output format should support RGBa values, so GIF or PNG.

Cheers,

Robert

-----Original Message-----
From: mapserver-users-bounces at lists.osgeo.org [mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of Basques, Bob (CI-StPaul)
Sent: Wednesday, 3 June 2015 8:48 a.m.
To: mapserver-users at lists.osgeo.org
Subject: [mapserver-users] color range fade to transparent.

All,

Anyone know how to use a transparent color on one end of the coloring option?

COLORRANGE 255 0 0 ??? ??? ??? ## red -> transparent

It there a RGB color to use for Transparency to fade to?  I basically want to fade a line based on age to nothing.

Thanks

bobb



_______________________________________________
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