[Mapserver-users] Label: ANGLE auto

Steve Lime steve.lime at dnr.state.mn.us
Thu Jul 31 17:25:54 EDT 2003


You need to use truetype fonts. The built in GD fonts are not
rotatable...

Steve

>>> "Rusty Moorman" <RustyM at morleyandassociates.com> 07/31/03 03:36PM
>>>
Hello all,
   I am having trouble getting ANGLE working for the LABEL object. All
of the labels (road names for a centerline layer) are simply
horizontally aligned. 
 
   I'm using "ANGLE: Auto" under the proper label object to no avail. 
 
   Here are some system specs:
        Mapserver - v3.6.6 (downloaded binary - OGR / GIF support)
        Win2000
 
   And here's a code snippet:
 
 LAYER 
    NAME "vroadname"
    DATA Vanderburgh_centerline
    STATUS DEFAULT
    TYPE ANNOTATION
    LABELITEM "street_nam"
    LABELMAXSCALE 72000
    CLASS
        LABEL
            ANGLE auto
            MINDISTANCE 50
            POSITION CC
            SIZE TINY
            COLOR 0 0 0
        END
    END
END
 
      Any clue as to what I'm doing wrong? Thanks for the help.
 
         Rusty Moorman
         Morley & Associates, Inc.



More information about the mapserver-users mailing list