[mapserver-dev] label offset bug

Yves Jacolin yves.jacolin at camptocamp.com
Fri Aug 31 05:21:18 PDT 2012


Le 23/08/2012 15:47, Yves Jacolin a écrit :
> Hello,
>
> I have a layer with label (and offset on this lable). Some labels don't
> displayed correctly, ie offset value seems not used: see
> http://imageshack.us/f/163/mapserverstyleoffsetbug.png/
>
> My label config looks like this:
>
>      LABEL
>        TYPE TRUETYPE
>        FONT arial
>        SIZE 7
>        COLOR 0 150 150
>        OUTLINECOLOR 255 255 255
>        OUTLINEWIDTH 2
>        ANTIALIAS TRUE
>        ANGLE follow
>        POSITION cc
>        OFFSET 0 7
>      END
>
> Does follow ANGLE value change someting with the OFFSET value?
>
> Thanks,
>
> Y.
Hello (cc dev list),

I guess I found the problem. Labels with no offset come from feature 
with lines geometries with several vertex: X------X---X----X----X

Lines with only two vertex work correctly: X---------X

Do I need to fill a ticket?

Thanks,

Y.
-- 
Responsable Formation et Support
Camptocamp France SAS
Savoie Technolac, BP 352
73377 Le Bourget du Lac, Cedex
Tel (France) : +33 4 79 26 57 98
Mob. : +33 6 18 75 42 21
Fax : 04 79 70 15 81
Mail : yves.jacolin at camptocamp.com
http://www.camptocamp.com


More information about the mapserver-dev mailing list