[mapserver-users] ANGLE AUTO in a LABEL

David McGaughey DMcGaughey@mail.ci.lubbock.tx.us
Tue, 04 Jun 2002 11:42:56 -0500


Greetings!

A question from a newbie:

I don't seem to be able to get the "ANGLE AUTO" to work as I expect.  I
was hoping that this option would force a lable along the line.  Instead
I just get labels at 0 degrees.  Can anyone help?  Here is my layer:

LAYER
  STATUS DEFAULT
  TYPE LINE
  DATA street_cl_named
  LABELITEM "STRTNAME"
  CLASSITEM "STRTNAME"
  LABELMAXSCALE 6000
  CLASS
    LABEL
      ANGLE AUTO
      POSITION AUTO
      COLOR 0 0 0
      SIZE small
    END # Label
  END
END