[mapserver-users] color range fade to transparent.

Basques, Bob (CI-StPaul) bob.basques at ci.stpaul.mn.us
Tue Jun 2 14:23:03 PDT 2015


All answering my own question . . .

I think this is working:

Set TRANSPARENT and the IMAGECOLOR in the MAP block:

TRANSPARENT true
IMAGECOLOR 254 254 254

 . . . then, set the COLORRNGE accordingly:

COLORRANGE 255 0 0 254 254 254  ## Red to Transparent

bobb





> On Jun 2, 2015, at 3:48 PM, Basques, Bob (CI-StPaul) <bob.basques at ci.stpaul.mn.us> wrote:
> 
> 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