[mapserver-users] label and opacity
thomas bonfort
thomas.bonfort at gmail.com
Thu Feb 9 12:11:20 PST 2012
Open a trac ticket and cc me on it, it shouldn't be very difficult to
implement. With a bit of funding it could probably be added rather
quickly.
--
thomas
On Thu, Feb 9, 2012 at 12:02, Ian Walberg <ian.walberg at airborne.aero> wrote:
> 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 ?
>
>
>
> _______________________________________________
> 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