<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>
Yes Brent Here is portion of my map file that is supposed to do the lines and the labels. The shapefile is of a line type. <br><br>&nbsp; LAYER<br>&nbsp;&nbsp;&nbsp; NAME 'demoroads2'<br>&nbsp;&nbsp;&nbsp; TYPE LINE<br>&nbsp;&nbsp;&nbsp; DATA 'C:\ms4w\apps\geomoose2\maps\demo\countydata\demoroads.shp'<br>&nbsp;&nbsp;&nbsp; METADATA<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 'wms_title' 'demoroads'<br>&nbsp;&nbsp;&nbsp; END<br>&nbsp;&nbsp;&nbsp; STATUS DEFAULT<br>&nbsp;&nbsp;&nbsp; TRANSPARENCY 100<br>&nbsp;&nbsp;&nbsp; PROJECTION<br>&nbsp;&nbsp;&nbsp; 'proj=longlat'<br>&nbsp;&nbsp;&nbsp; 'ellps=WGS84'<br>&nbsp;&nbsp;&nbsp; 'datum=WGS84'<br>&nbsp;&nbsp;&nbsp; 'no_defs'<br>&nbsp;&nbsp;&nbsp; END<br>CLASS<br>&nbsp; EXPRESSION ('[ROADCLASS]' eq 'C')<br>&nbsp; <br>&nbsp; STYLE<br>&nbsp;&nbsp;&nbsp; COLOR 255 0 0<br>&nbsp;&nbsp;&nbsp; SYMBOL 'plainline'<br>&nbsp;&nbsp;&nbsp; SIZE 2<br>&nbsp;&nbsp;&nbsp; MINSIZE 1<br>&nbsp;&nbsp;&nbsp; MAXSIZE 4<br>&nbsp; END <br><br>&nbsp; <br>END<br>END<br><br><br>#and then I use an annotation layer to add the labels<br><br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; LAYER # Road layer<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; NAME road_labels<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; DATA 'C:\ms4w\apps\geomoose2\maps\demo\countydata\demoroads.shp'<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; STATUS ON<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; TYPE annotation<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; MAXSCALEDENOM 2834<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; MINSCALEDENOM 1400<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; LABELITEM 'ROAD_NAME'<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; LABELCACHE ON<br><br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; CLASS<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; LABEL&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; COLOR 144 250 0<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; BUFFER 4<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ANGLE AUTO<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; END<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; END&nbsp;&nbsp; <br>END&nbsp; # End of Road layer<br><br>Now,
the above works fine and shows the lines and labels but once I add
ANGLE FOLLOW and/or TYPE TRUETYPE everything disappears. So what can I
do to see the labels whowing and following the line direction?<br><br>Cheers.<br><br>Franz Okyere.<br>&nbsp;GIS Specialist<br><br><br><br><br><br><br><br>&gt; Date: Sun, 22 Nov 2009 11:36:55 -0700<br>&gt; Subject: Re: [Geomoose-users] Curved labels and libgd or gd.<br>&gt; From: bfraser@geoanalytic.com<br>&gt; To: franzzoa@hotmail.com<br>&gt; CC: geomoose-users@lists.sourceforge.net<br>&gt; <br>&gt; libgd is not important to ANGLE FOLLOW (at least not that I'm aware of). <br>&gt; Are your labels using a TrueType font (not bitmapped)?  When you say they<br>&gt; don't align, does that mean they are only horizontal?  Are the layers you<br>&gt; are trying to label TYPE LINE?<br>&gt; <br>&gt; Best Regards,<br>&gt; Brent Fraser<br>&gt; <br>&gt; &gt; Hi All, I need to find out whether I have libgd with my mapserver<br>&gt; &gt; installation- I'm using gm2 on ms2.3.1. as my labels don't align with my<br>&gt; &gt; line feature even after I have used angle follow in my mapfile. I've<br>&gt; &gt; downloaded the gd-2.0.33-1 binaries but honestly i'm not sure what i'm<br>&gt; &gt; doing with them. Can anyone help! Thanks. Franz Okyere. GIS SPECIALIST.<br>&gt; &gt;<br>&gt; &gt; _________________________________________________________________<br>&gt; &gt; Got more than one Hotmail account? Save time by linking them together<br>&gt; &gt;  http://clk.atdmt.com/UKM/go/186394591/direct/01/<br>&gt; &gt; ------------------------------------------------------------------------------<br>&gt; &gt; Let Crystal Reports handle the reporting - Free Crystal Reports 2008<br>&gt; &gt; 30-Day<br>&gt; &gt; trial. Simplify your report design, integration and deployment - and focus<br>&gt; &gt; on<br>&gt; &gt; what you do best, core application coding. Discover what's new with<br>&gt; &gt; Crystal Reports now.  http://p.sf.net/sfu/bobj-july<br>&gt; &gt; _______________________________________________<br>&gt; &gt; Geomoose-users mailing list<br>&gt; &gt; Geomoose-users@lists.sourceforge.net<br>&gt; &gt; https://lists.sourceforge.net/lists/listinfo/geomoose-users<br>&gt; &gt;<br>&gt; &gt;<br>&gt;                                                <br /><hr />Use Hotmail to send and receive mail from your different email accounts. <a href='http://clk.atdmt.com/UKM/go/186394592/direct/01/' target='_new'>Find out how.</a></body>
</html>