[mapserver-users] How to set feature-level opacity?
Lasma Sietinsone
lasmasi at gmail.com
Fri Nov 26 04:23:58 PST 2010
Hi,
Is there a way to have feature-level opacity? I have large amount of
polygon data that has to be coloured RGB values straight from
attribute table. I also need to set custom transparency on these
polygons (alpha value).
I am trying to use COLOR [rgba] or COLOR [rgb] and OPACITY
[alphavals] but, unfortunately, neither approach would work.
Example from my mapfile:
...
CLASS
STYLE
COLOR [rgba]
# or have use two parameters instead
# COLOR [rgb]
# OPACITY [alphavals]
END
STYLE
OUTLINECOLOR 0 0 0
WIDTH 1
END
END
....
I understand that this has not been implemented, I am just
demonstrating my intentions.
Any workarounds or advice would be appreciated.
Thank you,
Lasma
More information about the MapServer-users
mailing list