[Mapserver-users] Label: ANGLE auto

Rusty Moorman RustyM at morleyandassociates.com
Thu Jul 31 16:36:31 EDT 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>&nbsp;&nbsp;&nbsp;</FONT><FONT size=2>I am having trouble 
getting&nbsp;ANGLE working for the LABEL object. All of&nbsp;the labels (road 
names for&nbsp;a centerline layer) are simply horizontally aligned. 
</FONT></DIV>
<DIV><FONT size=2></FONT>&nbsp;</DIV>
<DIV><FONT size=2>&nbsp;&nbsp;&nbsp;I'm using&nbsp;"ANGLE: Auto" under the 
proper label object to no avail. </FONT></DIV>
<DIV><FONT size=2></FONT>&nbsp;</DIV>
<DIV><FONT size=2>&nbsp;&nbsp; Here are some system specs:</FONT></DIV>
<DIV><FONT size=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Mapserver 
-&nbsp;v3.6.6 (downloaded binary - OGR / GIF support)</FONT></DIV>
<DIV><FONT size=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
Win2000</FONT></DIV>
<DIV><FONT size=2></FONT>&nbsp;</DIV>
<DIV><FONT size=2>&nbsp;&nbsp; And here's a code snippet:</FONT></DIV>
<DIV><FONT size=1></FONT>&nbsp;</DIV>
<DIV><FONT size=1><FONT face=Arial><FONT 
size=2>&nbsp;</FONT>LAYER&nbsp;<BR>&nbsp;&nbsp;&nbsp; NAME 
"vroadname"</FONT></FONT></DIV>
<DIV><FONT face=Arial size=1>&nbsp;&nbsp;&nbsp; DATA 
Vanderburgh_centerline<BR>&nbsp;&nbsp; &nbsp;STATUS DEFAULT<BR>&nbsp;&nbsp; 
&nbsp;TYPE ANNOTATION<BR>&nbsp;&nbsp; &nbsp;LABELITEM 
"street_nam"<BR>&nbsp;&nbsp;&nbsp;&nbsp;LABELMAXSCALE 72000<BR>&nbsp;&nbsp; 
&nbsp;CLASS</FONT></DIV>
<DIV><FONT face=Arial 
size=1>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;LABEL<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
&nbsp;&nbsp;&nbsp;ANGLE auto<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
&nbsp;&nbsp;&nbsp;MINDISTANCE 
50<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
&nbsp;&nbsp;&nbsp;POSITION 
CC<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;SIZE 
TINY<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;COLOR 
0 0 0<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;END<BR>&nbsp;&nbsp; 
&nbsp;END<BR>END</FONT></DIV>
<DIV><FONT size=1></FONT>&nbsp;</DIV>
<DIV><FONT size=1>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</FONT><FONT size=2>Any 
clue as to what I'm doing wrong? Thanks for the help.</FONT></DIV>
<DIV><FONT size=2></FONT>&nbsp;</DIV>
<DIV><FONT size=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Rusty 
Moorman</FONT></DIV>
<DIV><FONT size=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Morley &amp; 
Associates, Inc.</FONT></DIV></BODY></HTML>

--=_CE90D5CD.82E38EC3--



More information about the mapserver-users mailing list