[Mapserver-users] Label: ANGLE auto

Rusty Moorman RustyM at morleyandassociates.com
Thu Jul 31 13:36:31 PDT 2003


--=_CE90D5CD.82E38EC3
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit

Hello all,
   I am having trouble getting ANGLE working for the LABEL object. All
of the labels (road names for a centerline layer) are simply
horizontally aligned. 
 
   I'm using "ANGLE: Auto" under the proper label object to no avail. 
 
   Here are some system specs:
        Mapserver - v3.6.6 (downloaded binary - OGR / GIF support)
        Win2000
 
   And here's a code snippet:
 
 LAYER 
    NAME "vroadname"
    DATA Vanderburgh_centerline
    STATUS DEFAULT
    TYPE ANNOTATION
    LABELITEM "street_nam"
    LABELMAXSCALE 72000
    CLASS
        LABEL
            ANGLE auto
            MINDISTANCE 50
            POSITION CC
            SIZE TINY
            COLOR 0 0 0
        END
    END
END
 
      Any clue as to what I'm doing wrong? Thanks for the help.
 
         Rusty Moorman
         Morley & Associates, Inc.

--=_CE90D5CD.82E38EC3
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
Content-Description: HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1170" name=GENERATOR></HEAD>
<BODY style="MARGIN-TOP: 2px; FONT: 8pt Tahoma; MARGIN-LEFT: 2px">
<DIV><FONT size=2>Hello all,</FONT></DIV>
<DIV><FONT size=2>   </FONT><FONT size=2>I am having trouble 
getting ANGLE working for the LABEL object. All of the labels (road 
names for a centerline layer) are simply horizontally aligned. 
</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>   I'm using "ANGLE: Auto" under the 
proper label object to no avail. </FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>   Here are some system specs:</FONT></DIV>
<DIV><FONT size=2>        Mapserver 
- v3.6.6 (downloaded binary - OGR / GIF support)</FONT></DIV>
<DIV><FONT size=2>        
Win2000</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>   And here's a code snippet:</FONT></DIV>
<DIV><FONT size=1></FONT> </DIV>
<DIV><FONT size=1><FONT face=Arial><FONT 
size=2> </FONT>LAYER <BR>    NAME 
"vroadname"</FONT></FONT></DIV>
<DIV><FONT face=Arial size=1>    DATA 
Vanderburgh_centerline<BR>    STATUS DEFAULT<BR>   
 TYPE ANNOTATION<BR>    LABELITEM 
"street_nam"<BR>    LABELMAXSCALE 72000<BR>   
 CLASS</FONT></DIV>
<DIV><FONT face=Arial 
size=1>        LABEL<BR>         
   ANGLE auto<BR>         
   MINDISTANCE 
50<BR>         
   POSITION 
CC<BR>            SIZE 
TINY<BR>            COLOR 
0 0 0<BR>        END<BR>   
 END<BR>END</FONT></DIV>
<DIV><FONT size=1></FONT> </DIV>
<DIV><FONT size=1>      </FONT><FONT size=2>Any 
clue as to what I'm doing wrong? Thanks for the help.</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>         Rusty 
Moorman</FONT></DIV>
<DIV><FONT size=2>         Morley & 
Associates, Inc.</FONT></DIV></BODY></HTML>

--=_CE90D5CD.82E38EC3--



More information about the MapServer-users mailing list