[Mapserver-users] Angle - field

Dr. Martin Weinelt mweinelt at planiglobe.com
Mon Feb 17 07:53:32 PST 2003


raskpost at start.no:
> Hello everyone!
>
> Does anybody know how to (if possible) set  ANGLE on labels using values
> from a field in a table?
>

With LABELANGLEITEM (LABELSIZEITEM also available). eg:


# LAYER 
#   NAME myLayer
#   TYPE point
#   DATA "IM/basistopo"
#   LABELITEM "anno_text"
#   LABELSIZEITEM "anno_size"
#   LABELANGLEITEM "anno_angle"
#   CLASS
#     LABEL
#       TYPE truetype
#  		  FONT arial
#       COLOR 0 0 0
#       OUTLINECOLOR 255 255 255
#       ANTIALIAS true
#     END #Label
#   END # CLASS
# END # LAYER

Cheers, Martin




More information about the MapServer-users mailing list