[Mapserver-users] strange behaviour of LABELANGLEITEM

Björn Platzen bplatzen at sosnetz.de
Tue Jun 3 06:57:39 PDT 2003


Hi List,

I have point-layers for the labeling of the streets, where the dbf-file 
provides the information about the angle of the lable (in degrees).
It seems, as if every letter is turned instead of the whole label.

In my Mapfile it looks like this:

LAYER
  NAME strassennamen1
  TYPE annotation
  STATUS on
  MAXSCALE 7500
  MINSCALE 3400
  DATA NebenStrassennamen_text
  LABELITEM "Strname"
  LABELANGLEITEM "Text_angle" 
    CLASS
      LABEL
        ANTIALIAS true
        PARTIALS FALSE
        POSITION cc
        TYPE TRUETYPE
        SIZE 8
        FONT swiss
        COLOR 0 0 0
      END #LABEL
    END #CLASS
END #LAYER

The output can be found under http://www.ividata.de/map_aachen.gif
A Version with non-turned labels is under 
http://www.ividata.de/map_aachen2.gif (just to see the labels text...)

The degree-information looks like 
35.000000
297.000000
18.000000
309.000000
58.000000
.
.
.

The shapes and dbf's were generated by MapInfo.

I hope, that anybody can tell me, what's wrong...

Bye,

Bjoern

-- 
small office solutions
info at sosnetz.de  -  http://www.sosnetz.de




More information about the MapServer-users mailing list