[mapserver-users] changing dynamically LABEL BACKGROUNDCOLOR

Stephan Holl stephan.holl at intevation.de
Fri Jan 28 03:22:59 EST 2011


Hello thomas,

thomas bonfort <thomas.bonfort at gmail.com>, [20110128 - 08:23:31]

> Before starting to implement something extensive around label
> BACKGROUNDCOLOR, you should be aware that this keyword will not be
> supported anymore starting from version 6.0.
> 
> it is replaced with a
> 
> STYLE
>   GEOMTRANSFORM LABELPOLY
>   COLOR r g b
> END
> 
> which greatly extends the possibilities of styling the label
> background (e.g. outlinecolor, symbol, offset, opacity, etc...), as
> all the keywords relating to STYLE are applicable.

Interesting, could you point me to the documentation of the
GEOMTRANSFORM-stuff? I could not find anything on the net.

TIA

	Stephan


> On Thu, Jan 27, 2011 at 22:55, Jean-François Gigand
> <jean-francois at gigand.fr> wrote:
> > Use one CLASS for each colour used, set them to depend on your
> > attribute and repeat the LABEL definition for each of them.
> > If you the number of colours is limited, this would probably be a
> > solution.
> >
> > Jeff
> >
> > 2011/1/27 tommaso <tommasodb at googlemail.com>:
> >>
> >>
> >> On Thu, 2011-01-27 at 16:47 +0100, Julien Cigar wrote:
> >>
> >> use SLD ?
> >>
> >> Thanks, this were a solution but I should radically change my
> >> project. I will try it if there is not other ways.
> >> Other ideas?
> >>
> >> Tommaso
> >>
> >>
> >>
> >>
> >> _______________________________________________
> >> mapserver-users mailing list
> >> mapserver-users at lists.osgeo.org
> >> http://lists.osgeo.org/mailman/listinfo/mapserver-users
> >>
> >>
> > _______________________________________________
> > mapserver-users mailing list
> > mapserver-users at lists.osgeo.org
> > http://lists.osgeo.org/mailman/listinfo/mapserver-users
> >
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users


-- 
Stephan Holl <stephan.holl at intevation.de> | Tel.: +49 (0)541-33 508 3663
Intevation GmbH, Neuer Graben 17, 49074 OS  |  AG Osnabrück - HR B 18998
Geschäftsführer:  Frank Koormann, Bernhard Reiter, Dr. Jan-Oliver Wagner
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
Url : http://lists.osgeo.org/pipermail/mapserver-users/attachments/20110128/20957c5e/signature.bin


More information about the mapserver-users mailing list