[mapserver-users] Label background style

Jörg Thomsen jt at mapmedia.de
Tue Jul 1 01:29:36 PDT 2014


Am 01.07.2014 10:15, schrieb Dejan Gambin:
> Hi,
> 
> Is it possible to place a label text, for polygon feature, inside a
> circle, like on the picture attached (K1)? I know I can use
> GEOMTRANSFORM labelpoly and get a background rectangle, but I need a
> circle instead.

Hi,

I think you could use LABELTRANSFORM labelpnt and place a circle-symbol.

> label
>    text "K1"
>    color 0 0 0
>    type truetype
>    size 15
>    position cc
>    font "default"
>    style
>      geomtransform "labelpnt"
>      symbol "circle"
>      size 18
>      color 254 254 254
>    end
> end

Jörg


> Thanks
> 
> regards, dejan
> 
> 
> 
> _______________________________________________ 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