[mapserver-users] trying new label positioning - no change

William Kyngesburye woklist at kyngchaos.com
Tue Feb 17 13:42:40 EST 2009


I'm trying the new label positioning improvements for polygons in  
trunk from

http://trac.osgeo.org/mapserver/ticket/606

but AUTO seems to be ignoring the initial CC in the new ordering -  
with no collisions with other labels, all polygons are labelled at the  
UL corner of the polygon center.

Are there special conditions for AUTO/CC to work?  A typical label I'm  
trying is:

LABEL
   COLOR 0 100 222
   SHADOWCOLOR 218 218 218
   SHADOWSIZE 1 1
   OUTLINECOLOR 255 255 255
   TYPE TRUETYPE
   FONT helvetica-italic
   SIZE 9
   POSITION AUTO
   WRAP '|'
   PRIORITY 5
   MINFEATURESIZE 16
END

AUTO:

-------------- next part --------------
A non-text attachment was scrubbed...
Name: Picture-1.png
Type: image/png
Size: 4279 bytes
Desc: not available
Url : http://lists.osgeo.org/pipermail/mapserver-users/attachments/20090217/4d5cb234/Picture-1-0001.png
-------------- next part --------------



POSITION CC does work to label polys at CC:

-------------- next part --------------
A non-text attachment was scrubbed...
Name: Picture-2.png
Type: image/png
Size: 4142 bytes
Desc: not available
Url : http://lists.osgeo.org/pipermail/mapserver-users/attachments/20090217/4d5cb234/Picture-2-0001.png
-------------- next part --------------



PS. the new gravity positioning is nice!


-----
William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
http://www.kyngchaos.com/

Earth: "Mostly harmless"

- revised entry in the HitchHiker's Guide to the Galaxy




More information about the mapserver-users mailing list