[mapserver-users] LABELPOLY with increased padding

thomas bonfort thomas.bonfort at gmail.com
Thu Jun 23 05:53:05 EDT 2011


On Thu, Jun 23, 2011 at 11:35, Jana Golinowski <jgolinowski at codematix.de> wrote:
>> 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

yeah, nice one !

>
> The problem is that you can't have a transparent fill with a small outline
> and this padding.

as said, this is just a hack for now. We definitely need to be able to
set the padding for the labelpoly. Opening a
bugreport/feature-enhancement for this would be the first step so we
don't forget it.

regards,

thomas

>
> Greetings, Jana.
> _______________________________________________
> 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