[mapserver-users] street name at the start and end of street geometry

gabriel munteanu jajalinux at gmail.com
Fri Mar 2 01:40:03 PST 2012


Hi,

right now i have this code
LABELITEM gfname
                CLASS
                     TEXT '[gfname]'
                     LABEL
                          COLOR 255 3 3
                          OUTLINECOLOR 255 255 255
                          FONT "arial"
                          TYPE truetype
                          SIZE 8
                          ANTIALIAS TRUE
                          POSITION LR
                          PARTIALS FALSE
                          ANGLE FOLLOW
                     END
                     STYLE
                          OPACITY 100
                          COLOR 186 186 186
                          WIDTH 10
                          LINECAP round
                          LINEJOIN round
                          LINEJOINMAXSIZE 33
                     END
                     STYLE
                          OPACITY 90
                          COLOR 254 254 254
                          WIDTH 8
                     END
                END
the problem i have is that the label doesn't stick to the extremities
of the line and for different zoom levels it goes more to the middle
of the line.
is there a setting that forces a label to stick to the begging and to
the end of the line?

thanks in advance,


cheers,
Gabi



More information about the MapServer-users mailing list