[mapserver-users] STREET LABEL WON'T FOLLOW THE STREET

Daniel Morissette dmorissette at mapgears.com
Fri Oct 17 11:40:54 EDT 2008


To use ANGLE FOLLOW or ANGLE AUTO, you must use TrueType fonts. The 
default bitmap fonts (e.g. SIZE TINY) cannot be rotated.

More info about using truetype fonts is available in the MapServer 
tutorial at http://biometry.gis.umn.edu/tutorial/example1-4.html

Daniel


ntiamoah bernard wrote:
> Hi guys
> I need help in making the street labels follow the street. Someone 
> suggested this code below but it makes most of the labels disappear 
> instead. Help please
>  
> CLASS
>         EXPRESSION '4'
>         COLOR 0 0 0 # dummy color
>         SYMBOL 0
>         LABEL
>                  SIZE  tiny
>                  OUTLINECOLOR 255 255 255
>                  ANGLE FOLLOW
>                  POSITION  AUTO
>                  OFFSET  0 0
>                  COLOR  0 0 0
>                  BUFFER 2
>                  MINDISTANCE 200
>                  PARTIALS FALSE
>                  MINFEATURESIZE 20
>             END
>        END
>  
> Berrnard
> Indiana
>  
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users


-- 
Daniel Morissette
http://www.mapgears.com/


More information about the mapserver-users mailing list