[mapserver-users] LABELPOLY with increased padding
Jana Golinowski
jgolinowski at codematix.de
Thu Jun 23 02:35:33 PDT 2011
> I agree this would be an important feature to have.
> For now, you should be able to hack around it by specifying the width
> of the outline as twice the value of the padding you want. You do
> loose the possibility of having an outline of a different color than
> the fill.
It is possible to have different colors for fill and outline. You just have to
use 2 styles with varying widths:
LABEL
...
STYLE
GEOMTRANSFORM LABELPOLY
COLOR 0 0 0
OUTLINECOLOR 0 0 0
WIDTH 10
END
STYLE
GEOMTRANSFORM LABELPOLY
COLOR 0 150 220
OUTLINECOLOR 0 150 220
WIDTH 8
END
END
The problem is that you can't have a transparent fill with a small outline and
this padding.
Greetings, Jana.
More information about the MapServer-users
mailing list