Label text transparency is  a feature we could also use.

 

Regards

 

Ian

 

From: [email protected] 
[mailto:[email protected]] On Behalf Of Lime, Steve D 
(DNR)
Sent: Thursday, February 09, 2012 10:41 AM
To: Marc-André Trottier; [email protected]
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: [email protected] 
[mailto:[email protected]] On Behalf Of Marc-André 
Trottier
Sent: Thursday, February 09, 2012 8:56 AM
To: [email protected]
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
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to