[mapserver-dev] [mapserver-users] label offset bug
thomas bonfort
thomas.bonfort at gmail.com
Fri Aug 31 05:37:18 PDT 2012
Yves,
Offset labelling is not (yet :) ) supported for follow labels. For
lines with only two points, follow labels fall back to auto labels,
which do support offsetting.
On Fri, Aug 31, 2012 at 2:21 PM, Yves Jacolin
<yves.jacolin at camptocamp.com> wrote:
> 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
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
More information about the mapserver-dev
mailing list