<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>I'll try that and see how it goes.&nbsp;&nbsp;Thanks.<br><br>> Date&#58; Sun, 22 Nov 2009 20&#58;43&#58;50 -0700<br>> Subject&#58; Re&#58; &#91;Geomoose-users&#93; Curved labels and libgd or gd.<br>> From&#58; bfraser&#64;geoanalytic.com<br>> To&#58; franzzoa&#64;hotmail.com<br>> CC&#58; geomoose-users&#64;lists.sourceforge.net<br>> <br>> That means Mapserver is not sending back an image &#40;but is likely sending<br>> back an error message&#41;.  You could turn set DEBUG 5 in the LAYER &#40;and<br>> you&#39;ll likely need to set the MAP&#39;s CONFIG MS_ERRORFILE <br>> &#34;&#92;ms4w&#92;tmp&#92;mserror.txt&#34;&#41; to see if it reports a error.  Or you could use<br>> an HTTP sniffer like smartsniff to view the conversation between Geomoose<br>> and mapserver.<br>> <br>> Brent<br>> <br>> <br>> &#62; Yes I use vera_sans which happens to be in the fontset.list but then the<br>> &#62; background goes pinkish, you know.<br>> &#62;<br>> &#62;&#62; Date&#58; Sun, 22 Nov 2009 14&#58;44&#58;27 -0700<br>> &#62;&#62; Subject&#58; RE&#58; &#91;Geomoose-users&#93; Curved labels and libgd or gd.<br>> &#62;&#62; From&#58; bfraser&#64;geoanalytic.com<br>> &#62;&#62; To&#58; franzzoa&#64;hotmail.com<br>> &#62;&#62;<br>> &#62;&#62; Sounds like the problem is with TrueType fonts.  What do you specify for<br>> &#62;&#62; the font name&#63;  Is it in the fonts&#92;fontset.list&#63;  What is your MAP -&#62;<br>> &#62;&#62; FONTSET pointing to&#63;<br>> &#62;&#62;<br>> &#62;&#62; &#62;<br>> &#62;&#62; &#62; Yes Brent Here is portion of my map file that is supposed to do the<br>> &#62;&#62; lines<br>> &#62;&#62; &#62; and the labels. The shapefile is of a line type.<br>> &#62;&#62; &#62;<br>> &#62;&#62; &#62;   LAYER<br>> &#62;&#62; &#62;     NAME &#39;demoroads2&#39;<br>> &#62;&#62; &#62;     TYPE LINE<br>> &#62;&#62; &#62;     DATA &#39;C&#58;&#92;ms4w&#92;apps&#92;geomoose2&#92;maps&#92;demo&#92;countydata&#92;demoroads.shp&#39;<br>> &#62;&#62; &#62;     METADATA<br>> &#62;&#62; &#62;       &#39;wms_title&#39; &#39;demoroads&#39;<br>> &#62;&#62; &#62;     END<br>> &#62;&#62; &#62;     STATUS DEFAULT<br>> &#62;&#62; &#62;     TRANSPARENCY 100<br>> &#62;&#62; &#62;     PROJECTION<br>> &#62;&#62; &#62;     &#39;proj&#61;longlat&#39;<br>> &#62;&#62; &#62;     &#39;ellps&#61;WGS84&#39;<br>> &#62;&#62; &#62;     &#39;datum&#61;WGS84&#39;<br>> &#62;&#62; &#62;     &#39;no_defs&#39;<br>> &#62;&#62; &#62;     END<br>> &#62;&#62; &#62; CLASS<br>> &#62;&#62; &#62;   EXPRESSION &#40;&#39;&#91;ROADCLASS&#93;&#39; eq &#39;C&#39;&#41;<br>> &#62;&#62; &#62;<br>> &#62;&#62; &#62;   STYLE<br>> &#62;&#62; &#62;     COLOR 255 0 0<br>> &#62;&#62; &#62;     SYMBOL &#39;plainline&#39;<br>> &#62;&#62; &#62;     SIZE 2<br>> &#62;&#62; &#62;     MINSIZE 1<br>> &#62;&#62; &#62;     MAXSIZE 4<br>> &#62;&#62; &#62;   END<br>> &#62;&#62; &#62;<br>> &#62;&#62; &#62;<br>> &#62;&#62; &#62; END<br>> &#62;&#62; &#62; END<br>> &#62;&#62; &#62;<br>> &#62;&#62; &#62;<br>> &#62;&#62; &#62; &#35;and then I use an annotation layer to add the labels<br>> &#62;&#62; &#62;<br>> &#62;&#62; &#62;         LAYER &#35; Road layer<br>> &#62;&#62; &#62;         NAME road_labels<br>> &#62;&#62; &#62;         DATA<br>> &#62;&#62; &#39;C&#58;&#92;ms4w&#92;apps&#92;geomoose2&#92;maps&#92;demo&#92;countydata&#92;demoroads.shp&#39;<br>> &#62;&#62; &#62;         STATUS ON<br>> &#62;&#62; &#62;         TYPE annotation<br>> &#62;&#62; &#62;         MAXSCALEDENOM 2834<br>> &#62;&#62; &#62;         MINSCALEDENOM 1400<br>> &#62;&#62; &#62;         LABELITEM &#39;ROAD_NAME&#39;<br>> &#62;&#62; &#62;         LABELCACHE ON<br>> &#62;&#62; &#62;<br>> &#62;&#62; &#62;         CLASS<br>> &#62;&#62; &#62;         LABEL<br>> &#62;&#62; &#62;<br>> &#62;&#62; &#62;         COLOR 144 250 0<br>> &#62;&#62; &#62;<br>> &#62;&#62; &#62;         BUFFER 4<br>> &#62;&#62; &#62;         ANGLE AUTO<br>> &#62;&#62; &#62;        END<br>> &#62;&#62; &#62;          END<br>> &#62;&#62; &#62; END  &#35; End of Road layer<br>> &#62;&#62; &#62;<br>> &#62;&#62; &#62; Now,<br>> &#62;&#62; &#62; the above works fine and shows the lines and labels but once I add<br>> &#62;&#62; &#62; ANGLE FOLLOW and&#47;or TYPE TRUETYPE everything disappears. So what can I<br>> &#62;&#62; &#62; do to see the labels whowing and following the line direction&#63;<br>> &#62;&#62; &#62;<br>> &#62;&#62; &#62; Cheers.<br>> &#62;&#62; &#62;<br>> &#62;&#62; &#62; Franz Okyere.<br>> &#62;&#62; &#62;  GIS Specialist<br>> &#62;&#62; &#62;<br>> &#62;&#62; &#62;<br>> &#62;&#62; &#62;<br>> &#62;&#62; &#62;<br>> &#62;&#62; &#62;<br>> &#62;&#62; &#62;<br>> &#62;&#62; &#62;<br>> &#62;&#62; &#62;&#62; Date&#58; Sun, 22 Nov 2009 11&#58;36&#58;55 -0700<br>> &#62;&#62; &#62;&#62; Subject&#58; Re&#58; &#91;Geomoose-users&#93; Curved labels and libgd or gd.<br>> &#62;&#62; &#62;&#62; From&#58; bfraser&#64;geoanalytic.com<br>> &#62;&#62; &#62;&#62; To&#58; franzzoa&#64;hotmail.com<br>> &#62;&#62; &#62;&#62; CC&#58; geomoose-users&#64;lists.sourceforge.net<br>> &#62;&#62; &#62;&#62;<br>> &#62;&#62; &#62;&#62; libgd is not important to ANGLE FOLLOW &#40;at least not that I&#39;m aware<br>> &#62;&#62; of&#41;.<br>> &#62;&#62; &#62;&#62; Are your labels using a TrueType font &#40;not bitmapped&#41;&#63;  When you say<br>> &#62;&#62; &#62;&#62; they<br>> &#62;&#62; &#62;&#62; don&#39;t align, does that mean they are only horizontal&#63;  Are the layers<br>> &#62;&#62; &#62;&#62; you<br>> &#62;&#62; &#62;&#62; are trying to label TYPE LINE&#63;<br>> &#62;&#62; &#62;&#62;<br>> &#62;&#62; &#62;&#62; Best Regards,<br>> &#62;&#62; &#62;&#62; Brent Fraser<br>> &#62;&#62; &#62;&#62;<br>> &#62;&#62; &#62;&#62; &#62; Hi All, I need to find out whether I have libgd with my mapserver<br>> &#62;&#62; &#62;&#62; &#62; installation- I&#39;m using gm2 on ms2.3.1. as my labels don&#39;t align<br>> &#62;&#62; with<br>> &#62;&#62; &#62;&#62; my<br>> &#62;&#62; &#62;&#62; &#62; line feature even after I have used angle follow in my mapfile.<br>> &#62;&#62; I&#39;ve<br>> &#62;&#62; &#62;&#62; &#62; downloaded the gd-2.0.33-1 binaries but honestly i&#39;m not sure what<br>> &#62;&#62; i&#39;m<br>> &#62;&#62; &#62;&#62; &#62; doing with them. Can anyone help&#33; Thanks. Franz Okyere. GIS<br>> &#62;&#62; &#62;&#62; SPECIALIST.<br>> &#62;&#62; &#62;&#62; &#62;<br>> &#62;&#62; &#62;&#62; &#62; _________________________________________________________________<br>> &#62;&#62; &#62;&#62; &#62; Got more than one Hotmail account&#63; Save time by linking them<br>> &#62;&#62; together<br>> &#62;&#62; &#62;&#62; &#62;  http&#58;&#47;&#47;clk.atdmt.com&#47;UKM&#47;go&#47;186394591&#47;direct&#47;01&#47;<br>> &#62;&#62; &#62;&#62; &#62; ------------------------------------------------------------------------------<br>> &#62;&#62; &#62;&#62; &#62; Let Crystal Reports handle the reporting - Free Crystal Reports<br>> &#62;&#62; 2008<br>> &#62;&#62; &#62;&#62; &#62; 30-Day<br>> &#62;&#62; &#62;&#62; &#62; trial. Simplify your report design, integration and deployment -<br>> &#62;&#62; and<br>> &#62;&#62; &#62;&#62; focus<br>> &#62;&#62; &#62;&#62; &#62; on<br>> &#62;&#62; &#62;&#62; &#62; what you do best, core application coding. Discover what&#39;s new with<br>> &#62;&#62; &#62;&#62; &#62; Crystal Reports now.  http&#58;&#47;&#47;p.sf.net&#47;sfu&#47;bobj-july<br>> &#62;&#62; &#62;&#62; &#62; _______________________________________________<br>> &#62;&#62; &#62;&#62; &#62; Geomoose-users mailing list<br>> &#62;&#62; &#62;&#62; &#62; Geomoose-users&#64;lists.sourceforge.net<br>> &#62;&#62; &#62;&#62; &#62; https&#58;&#47;&#47;lists.sourceforge.net&#47;lists&#47;listinfo&#47;geomoose-users<br>> &#62;&#62; &#62;&#62; &#62;<br>> &#62;&#62; &#62;&#62; &#62;<br>> &#62;&#62; &#62;&#62;<br>> &#62;&#62; &#62; _________________________________________________________________<br>> &#62;&#62; &#62; Use Hotmail to send and receive mail from your different email<br>> &#62;&#62; accounts<br>> &#62;&#62; &#62; http&#58;&#47;&#47;clk.atdmt.com&#47;UKM&#47;go&#47;186394592&#47;direct&#47;01&#47;<br>> &#62;&#62; &#62;<br>> &#62;&#62;<br>> &#62;&#62;<br>> &#62;<br>> &#62; _________________________________________________________________<br>> &#62; Got more than one Hotmail account&#63; Save time by linking them together<br>> &#62;  http&#58;&#47;&#47;clk.atdmt.com&#47;UKM&#47;go&#47;186394591&#47;direct&#47;01&#47;<br>> &#62; ------------------------------------------------------------------------------<br>> &#62; Let Crystal Reports handle the reporting - Free Crystal Reports 2008<br>> &#62; 30-Day<br>> &#62; trial. Simplify your report design, integration and deployment - and focus<br>> &#62; on<br>> &#62; what you do best, core application coding. Discover what&#39;s new with<br>> &#62; Crystal Reports now.  http&#58;&#47;&#47;p.sf.net&#47;sfu&#47;bobj-july<br>> &#62; _______________________________________________<br>> &#62; Geomoose-users mailing list<br>> &#62; Geomoose-users&#64;lists.sourceforge.net<br>> &#62; https&#58;&#47;&#47;lists.sourceforge.net&#47;lists&#47;listinfo&#47;geomoose-users<br>> &#62;<br>> &#62;<br>> <br>> <br>                                               <br /><hr />View your other email accounts from your Hotmail inbox. <a href='http://clk.atdmt.com/UKM/go/186394592/direct/01/' target='_new'>Add them now.</a></body>
</html>