label angle AUTO - M.S. 4.4.

Piero Cavalieri piero.cavalieri at HEIDI.IT
Tue Jan 18 09:18:29 PST 2005


I'm trying to use the AUTO orientation of label in this .map file fragment:

LAYER
  NAME fiumi
  DEBUG on
  METADATA
    "DESCRIPTION" "Fiumi"
  END
  TYPE line
  STATUS ON
  DATA idrfiu
  LABELITEM "des"
  LABELMAXSCALE 100000
  CLASSITEM "asta"
  CLASS
    EXPRESSION "0000"
    NAME "Fiumi/Aste Principali"
    COLOR 0 0 250
    TEMPLATE "ttt_query.html"
    LABEL
        MINFEATURESIZE 30
        MINDISTANCE 150
        POSITION CC
        SIZE MEDIUM
 ANGLE AUTO
        COLOR 0 0 100
        OUTLINECOLOR 220 220 220
     END
  END
  CLASS
    EXPRESSION /F|C|./
    NAME "Fiumi/Fosse o Canali"
    MAXSCALE 40000
    COLOR 0 0 250
    TEMPLATE "ttt_query.html"
    LABEL
        MINFEATURESIZE 30
        MINDISTANCE 150
        POSITION CC
        ANGLE AUTO
        SIZE SMALL
        COLOR 0 0 100
        OUTLINECOLOR 220 220 220
    END
  END
  TOLERANCE 5
END

but it has no effect. My labels are still orrizontal.
If I use a background color for labels, then only the background is rotated.
What's wrong in my .map ?

Thanks in advance
   Piero



More information about the MapServer-users mailing list