[Mapserver-users] rotating labels move away from label point ??

George Planansky george_planansky at NOSPAMharvard.edu
Tue Jan 7 21:41:00 EST 2003


Using ANGLE to rotate labels, as below,
we expected to see the label string
rotate propeller-fashion around the
label point (which is in the center
of our polygons and shows up as we
expect).

However, the labels instead move away from
the label point as we change the rotation
angle.  The longer the label string, the
further away they move.  

We don't understand this -- what is
happening here?  How do we keep
the label string centered on the label point.


  CLASS 
    COLOR -1 -1 -1
    COLOR 255 0 0
    SYMBOL 'circle'
    SIZE 5
    LABEL
      POSITION CC
      ANGLE 135.00
      COLOR 0 0 0
      TYPE TRUETYPE
      FONT arial
      SIZE 14
      ANTIALIAS TRUE
      PARTIALS FALSE
      BUFFER 2
    END 
  END

Thanks

George Planansky
george_planansky at NOSPAMharvard.edu




More information about the mapserver-users mailing list