ANGLE FOLLOW

Stephen Woodbridge woodbri at SWOODBRIDGE.COM
Wed Jul 25 10:28:42 EDT 2007


Bart van den Eijnden (OSGIS) wrote:
> So this is mostly useful for streets which are shown with very wide lines in
> which the labels fit, and not so much for rivers like I wanted to use it
> for?

I use it for rivers and streams like this:

   LAYER
     NAME "Rivers"
     STATUS DEFAULT
     DATA "rivers"
     TYPE LINE
     TILEINDEX "tgrindex"
     MAXSCALE 150100.0
     LABELITEM "NAME"
     LABELMAXSCALE 50100.0
     TRANSPARENCY ALPHA
     CLASS
       NAME "Rivers and Streams"
       STYLE
         COLOR 153 179 204
         WIDTH 1
         ANTIALIAS TRUE
       END
       LABEL
         ANGLE FOLLOW
         FONT "arial"
         TYPE TRUETYPE
         POSITION AUTO
         SIZE 7
         BUFFER 4
         COLOR 0 0 255
         ANTIALIAS TRUE
         PARTIALS FALSE
         MINDISTANCE 250
         MINFEATURESIZE 10
       END
     END
   END



More information about the mapserver-users mailing list