[mapserver-users] label and opacity
Ian Walberg
ian.walberg at airborne.aero
Thu Feb 9 12:02:43 PST 2012
Label text transparency is a feature we could also use.
Regards
Ian
From: mapserver-users-bounces at lists.osgeo.org [mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of Lime, Steve D (DNR)
Sent: Thursday, February 09, 2012 10:41 AM
To: Marc-André Trottier; mapserver-users at lists.osgeo.org
Subject: RE: [mapserver-users] label and opacity
At present there is no support for transparent labels. Style properties apply to an accompanying marker or bounding box, not the label itself.
Steve
From: mapserver-users-bounces at lists.osgeo.org [mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of Marc-André Trottier
Sent: Thursday, February 09, 2012 8:56 AM
To: mapserver-users at lists.osgeo.org
Subject: [mapserver-users] label and opacity
Can we put OPACITY on a LABEL :
CLASS
NAME "Région administrative"
EXPRESSION (([no_reg_admin] in '%RES_CO_REG%' ) AND ('[couleur]' = 'VERT'))
GROUP "select"
TEXT "[no_reg_admin]"
STYLE
COLOR 51 204 51
OUTLINECOLOR 139 35 35
WIDTH 10
END
LABEL
COLOR 212 212 212
OUTLINECOLOR 250 255 255
ANTIALIAS FALSE
TYPE TRUETYPE
FONT "arialbd"
SIZE 50
STYLE
OPACITY 23
END
END
END
and my outputformat is :
OUTPUTFORMAT
NAME "png"
MIMETYPE "image/png"
DRIVER "AGG/PNG"
EXTENSION "png"
IMAGEMODE RGBA
TRANSPARENT ON
FORMATOPTION "INTERLACE=OFF"
END
it should work but my label is not transparent
is it a FONT problem ?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20120209/0a758452/attachment.htm>
More information about the MapServer-users
mailing list