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

William Kyngesburye woklist at kyngchaos.com
Tue Feb 17 10:42:40 PST 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/attachment.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/attachment-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