[Mapserver-users] Streets text labels: automatic text orientation?

Pedro Salazar pedro-b-salazar@ptinovacao.pt
30 May 2003 16:33:27 +0100


Greetings,

How can I configure my map to draw the street text labels in the
orientation of the street line? I got always the text in the horizontal
orientation...

This is my layer configuration:

LAYER
NAME vias_text
LABELITEM "NOME"
CLASSITEM "CATEGORIA"
TYPE LINE
DATA vias
LABELCACHE ON
STATUS DEFAULT
    CLASS
        EXPRESSION "Rua"
        OUTLINECOLOR 128 128 128
        COLOR 0 0 0
        LABEL
            COLOR 0 0 0
            SIZE TINY
            POSITION AUTO
            ANGLE AUTO
            ANTIALIAS TRUE
            PARTIALS TRUE
            MINDISTANCE 100
            MINFEATURESIZE AUTO
            #FONT LucidaSansOblique
        END
    END
    CLASS
        EXPRESSION "Avenida"
        OUTLINECOLOR 128 128 128
        COLOR 0 0 0
        LABEL
            COLOR 0 0 0
            SIZE TINY
            POSITION AUTO
            ANGLE AUTO
            ANTIALIAS TRUE
            PARTIALS TRUE
            MINDISTANCE 100
            MINFEATURESIZE AUTO
            FONT "LucidaSansOblique"
        END
    END
    CLASS
        OUTLINECOLOR 128 128 128
        COLOR 0 0 0
        LABEL
            COLOR 0 0 0
            #SIZE SMALL
            SIZE TINY
            POSITION AUTO
            ANGLE AUTO
            ANTIALIAS TRUE
            PARTIALS TRUE
            MINDISTANCE 100
            MINFEATURESIZE AUTO
        END
    END

END

I appreciate any help.

thanks,
Pedro Salazar.
-- 
PS
pedro-b-salazar@ptinovacao.pt
PGP:0E129E31D803BC61

_______________________________________________
Mapserver-users mailing list
Mapserver-users@lists.gis.umn.edu
http://lists.gis.umn.edu/mailman/listinfo/mapserver-users