[Mapserver-users] Streets text labels: automatic text orientation?
Pedro Salazar
pedro-b-salazar at ptinovacao.pt
Fri May 30 08:33:27 PDT 2003
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 at ptinovacao.pt
PGP:0E129E31D803BC61
More information about the MapServer-users
mailing list