[mapserver-users] label FOLLOW and OFFSET

Stephen Woodbridge woodbri at swoodbridge.com
Sat Jan 31 15:55:16 EST 2009


Sorry Tim,

OFFSET is not support with ANGLE FOLLOW

-Steve W

Tim Norris wrote:
> Hi all,
> 
> I have been playing with the FOLLOW label directive. What I am trying to
> achieve is a label that follows the street that is also OFFSET so that
> the label does not land on the line for the street, but instead 'above'
> it. Below is the LABEL directives that I am using, but note that I have
> also tried using the POSITION UC as well as the OFFSET 0 -6, but both
> give the same results. Please see the attached JPG image, you can see
> that 'M PARDO' is correct but that 'JR JUNIN' is not.
> 
>       LABEL
>         COLOR 0 0 0
>         OUTLINECOLOR 255 255 255
>         TYPE TRUETYPE
>         FONT ArialBold
>         SIZE 7
>         ANTIALIAS TRUE
>         ANGLE FOLLOW
>         PARTIALS FALSE
>         MINFEATURESIZE 40
>         MINDISTANCE 50
>         OFFSET 0 -6
>         BUFFER 7
>       END
> 
> Any ideas as to why this is not working? I took a quick look in
> maplabel.c, but could not see anything obvious . . .
> 
> thanks
> tim
> 
> Tim Norris
> 
> 
> 
> ------------------------------------------------------------------------
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users



More information about the mapserver-users mailing list