<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>The labels display horizontally. Thanks for the info on the dlls too.<br><br>> Date: Tue, 24 Nov 2009 09:11:16 -0700<br>> From: bfraser@geoanalytic.com<br>> To: franzzoa@hotmail.com<br>> CC: geomoose-users@lists.sourceforge.net<br>> Subject: Re: [Geomoose-users] Curved labels and libgd or gd.<br>> <br>> Did the labels appear at all? Were they only horizontal? I'm not sure what you <br>> mean by "like it should". The ANGLE FOLLOW setting was originally intended for <br>> labeling along road segments; it currently does a poor job of labeling streams <br>> with lots of twists and turns. And there are a few issues filed against it in <br>> Maperver's Trac.<br>> <br>> As for the loading of DLLs by mapserv.exe, a good tool to use is ProcessMonitor <br>> (http://technet.microsoft.com/en-us/sysinternals/bb896645.aspx). Run it on the <br>> server when you do a pan or zoom to see which DLLs mapserv.exe is try to load.<br>> <br>> Best regards,<br>> Brent Fraser<br>> <br>> FRANZ OKYERE wrote:<br>> > Its worked alright, the op system didn't show any errors and angle <br>> > follow does not curve my labels like it should. But I suspect there's <br>> > something wrong with my windows installation such that certain dlls <br>> > can't be accessed on the expected path? I may be wrong but I wish <br>> > it were working, seriously. Franz Okyere. GIS specialist<br>> > <br>> >> Date: Tue, 24 Nov 2009 07:45:39 -0700<br>> >> From: bfraser@geoanalytic.com<br>> >> To: franzzoa@hotmail.com<br>> >> CC: geomoose-users@lists.sourceforge.net<br>> >> Subject: Re: [Geomoose-users] Curved labels and libgd or gd.<br>> >> <br>> >> You left out the "-o". The command should be:<br>> >> <br>> >> shp2img -m demoroads.map -o demoroads.png<br>> >> <br>> >> Brent<br>> >> <br>> >> FRANZ OKYERE wrote:<br>> >> > Hi all,<br>> >> ><br>> >> > Its it a behaviour for the shp2img to produce some weird characters a@<br>> >> > command prompt when I type<br>> >> ><br>> >> > shp2img -m demoroads.map demoroads.png<br>> >> ><br>> >> > or is there a problem with my syntax? Cheers<br>> >> ><br>> >> ><br>> >> > Franz Okyere<br>> >> ><br>> >> > GIS Specialist<br>> >> ><br>> >> >> Date: Mon, 23 Nov 2009 18:01:48 -0700<br>> >> >> Subject: Re: [Geomoose-users] Curved labels and libgd or gd.<br>> >> >> From: bfraser@geoanalytic.com<br>> >> >> To: franzzoa@hotmail.com<br>> >> >> CC: geomoose-users@lists.sourceforge.net<br>> >> >><br>> >> >> Try copying shp2img into the cgi-bin dir and run it from the command <br>> > line<br>> >> >><br>> >> >> > When I try to run shp2img an error message which says libmap.dll is<br>> >> >> > missing shows up, but thats not true- libmap.dll exists in<br>> >> > apache/cgi-bin.<br>> >> >> > I guess may need to reinstall? Cheers.<br>> >> >> ><br>> >> >> >> Date: Mon, 23 Nov 2009 14:20:02 -0700<br>> >> >> >> Subject: Re: [Geomoose-users] Curved labels and libgd or gd.<br>> >> >> >> From: bfraser@geoanalytic.com<br>> >> >> >> To: franzzoa@hotmail.com<br>> >> >> >> CC: geomoose-users@lists.sourceforge.net<br>> >> >> >><br>> >> >> >> Yikes! That usually means mapserver crashed. Try using the <br>> > mapserver's<br>> >> >> >> shp2img.exe on the command line with your map file to see if the<br>> >> >> >> operating<br>> >> >> >> system gives any more information (like missing DLLs).<br>> >> >> >><br>> >> >> >><br>> >> >> >> > I've managed to check both error reports but the message in them is<br>> >> >> >> not<br>> >> >> >> > specific. Eg- from the mozilla tools, internal server error, <br>> > and from<br>> >> >> >> use<br>> >> >> >> > error log, premature end of script headers (not sure what this <br>> > means<br>> >> >> >> > though). Any ideas why my label will not follow the line direction?<br>> >> >> >> > Thanks.<br>> >> >> >> ><br>> >> >> >> > Date: Mon, 23 Nov 2009 08:37:57 -0800<br>> >> >> >> > From: danlittle@yahoo.com<br>> >> >> >> > Subject: Re: [Geomoose-users] Curved labels and libgd or gd.<br>> >> >> >> > To: franzzoa@hotmail.com; geomoose-users@lists.sourceforge.net<br>> >> >> >> ><br>> >> >> >> ><br>> >> >> >> ><br>> >> >> >> > I find using Firefox's "Tools" -> "page Info" menu then looking<br>> >> > in the<br>> >> >> >> > media tab to be the easiest way to go.<br>> >> >> >> ><br>> >> >> >> > You'll scroll down the list until you see the URL that refers <br>> > to the<br>> >> >> >> image<br>> >> >> >> > (which should be in italics to indicate it is "broken"), then<br>> >> > copy the<br>> >> >> >> url<br>> >> >> >> > and open it up in a new tab/window.<br>> >> >> >> ><br>> >> >> >> > From: FRANZ OKYERE <franzzoa@hotmail.com><br>> >> >> >> > To: geomoose-users@lists.sourceforge.net<br>> >> >> >> > Sent: Mon, November 23, 2009 7:07:46 AM<br>> >> >> >> > Subject: Re: [Geomoose-users] Curved labels and libgd or gd.<br>> >> >> >> ><br>> >> >> >> ><br>> >> >> >> ><br>> >> >> >> ><br>> >> >> >> > I'll try that and see how it goes. Thanks.<br>> >> >> >> ><br>> >> >> >> >> Date: Sun, 22 Nov 2009 20:43:50 -0700<br>> >> >> >> >> Subject: Re: [Geomoose-users] Curved labels and libgd or gd.<br>> >> >> >> >> From: bfraser@geoanalytic.com<br>> >> >> >> >> To: franzzoa@hotmail.com<br>> >> >> >> >> CC: geomoose-users@lists.sourceforge.net<br>> >> >> >> >><br>> >> >> >> >> That means Mapserver is not sending back an image (but is likely<br>> >> >> >> sending<br>> >> >> >> >> back an error message). You could turn set DEBUG 5 in the <br>> > LAYER (and<br>> >> >> >> >> you'll likely need to set the MAP's CONFIG MS_ERRORFILE<br>> >> >> >> >> "\ms4w\tmp\mserror.txt") to see if it reports a error. Or you <br>> > could<br>> >> >> >> use<br>> >> >> >> >> an HTTP sniffer like smartsniff to view the conversation between<br>> >> >> >> >> Geomoose<br>> >> >> >> >> and mapserver.<br>> >> >> >> >><br>> >> >> >> >> Brent<br>> >> >> >> >><br>> >> >> >> >><br>> >> >> >> >> > Yes I use vera_sans which happens to be in the fontset.list but<br>> >> >> >> then<br>> >> >> >> >> the<br>> >> >> >> >> > background goes pinkish, you know.<br>> >> >> >> >> ><br>> >> >> >> >> >> Date: Sun, 22 Nov 2009 14:44:27 -0700<br>> >> >> >> >><br>> >> >> >> > >> Subject: RE: [Geomoose-users] Curved labels and libgd or gd.<br>> >> >> >> >> >> From: bfraser@geoanalytic.com<br>> >> >> >> >> >> To: franzzoa@hotmail.com<br>> >> >> >> >> >><br>> >> >> >> >> >> Sounds like the problem is with TrueType fonts. What do you<br>> >> >> >> specify<br>> >> >> >> >> for<br>> >> >> >> >> >> the font name? Is it in the fonts\fontset.list? What is <br>> > your MAP<br>> >> >> >> -><br>> >> >> >> >> >> FONTSET pointing to?<br>> >> >> >> >> >><br>> >> >> >> >> >> ><br>> >> >> >> >> >> > Yes Brent Here is portion of my map file that is supposed <br>> > to do<br>> >> >> >> the<br>> >> >> >> >> >> lines<br>> >> >> >> >> >> > and the labels. The shapefile is of a line type.<br>> >> >> >> >> >> ><br>> >> >> >> >> >> > LAYER<br>> >> >> >> >> >> > NAME 'demoroads2'<br>> >> >> >> >> >> > TYPE LINE<br>> >> >> >> >> >> > DATA<br>> >> >> >> >> 'C:\ms4w\apps\geomoose2\maps\demo\countydata\demoroads.shp'<br>> >> >> >> >> >> > METADATA<br>> >> >> >> >> >> > 'wms_title' 'demoroads'<br>> >> >> >> >> >> > END<br>> >> >> >> >><br>> >> >> >> > >> > STATUS DEFAULT<br>> >> >> >> >> >> > TRANSPARENCY 100<br>> >> >> >> >> >> > PROJECTION<br>> >> >> >> >> >> > 'proj=longlat'<br>> >> >> >> >> >> > 'ellps=WGS84'<br>> >> >> >> >> >> > 'datum=WGS84'<br>> >> >> >> >> >> > 'no_defs'<br>> >> >> >> >> >> > END<br>> >> >> >> >> >> > CLASS<br>> >> >> >> >> >> > EXPRESSION ('[ROADCLASS]' eq 'C')<br>> >> >> >> >> >> ><br>> >> >> >> >> >> > STYLE<br>> >> >> >> >> >> > COLOR 255 0 0<br>> >> >> >> >> >> > SYMBOL 'plainline'<br>> >> >> >> >> >> > SIZE 2<br>> >> >> >> >> >> > MINSIZE 1<br>> >> >> >> >> >> > MAXSIZE 4<br>> >> >> >> >> >> > END<br>> >> >> >> >> >> ><br>> >> >> >> >> >> ><br>> >> >> >> >> >> > END<br>> >> >> >> >> >> > END<br>> >> >> >> >> >> ><br>> >> >> >> >> >> ><br>> >> >> >> >> >> > #and then I use an annotation layer to add the labels<br>> >> >> >> >> >> ><br>> >> >> >> >> >> > LAYER # Road layer<br>> >> >> >> >> >> ><br>> >> >> >> > NAME road_labels<br>> >> >> >> >> >> > DATA<br>> >> >> >> >> >> 'C:\ms4w\apps\geomoose2\maps\demo\countydata\demoroads.shp'<br>> >> >> >> >> >> > STATUS ON<br>> >> >> >> >> >> > TYPE annotation<br>> >> >> >> >> >> > MAXSCALEDENOM 2834<br>> >> >> >> >> >> > MINSCALEDENOM 1400<br>> >> >> >> >> >> > LABELITEM 'ROAD_NAME'<br>> >> >> >> >> >> > LABELCACHE ON<br>> >> >> >> >> >> ><br>> >> >> >> >> >> > CLASS<br>> >> >> >> >> >> > LABEL<br>> >> >> >> >> >> ><br>> >> >> >> >> >> > COLOR 144 250 0<br>> >> >> >> >> >> ><br>> >> >> >> >> >> > BUFFER 4<br>> >> >> >> >> >> > ANGLE AUTO<br>> >> >> >> >> >> > END<br>> >> >> >> >> >> > END<br>> >> >> >> >> >> > END # End of Road layer<br>> >> >> >> >> >> ><br>> >> >> >> >> >> > Now,<br>> >> >> >> >> >> > the above works fine and shows the lines and labels but <br>> > once I<br>> >> >> >> add<br>> >> >> >> >> >> > ANGLE FOLLOW<br>> >> >> >> > and/or TYPE TRUETYPE everything disappears. So what can I<br>> >> >> >> >> >> > do to see the labels whowing and following the line <br>> > direction?<br>> >> >> >> >> >> ><br>> >> >> >> >> >> > Cheers.<br>> >> >> >> >> >> ><br>> >> >> >> >> >> > Franz Okyere.<br>> >> >> >> >> >> > GIS Specialist<br>> >> >> >> >> >> ><br>> >> >> >> >> >> ><br>> >> >> >> >> >> ><br>> >> >> >> >> >> ><br>> >> >> >> >> >> ><br>> >> >> >> >> >> ><br>> >> >> >> >> >> ><br>> >> >> >> >> >> >> Date: Sun, 22 Nov 2009 11:36:55 -0700<br>> >> >> >> >> >> >> Subject: Re: [Geomoose-users] Curved labels and libgd or gd.<br>> >> >> >> >> >> >> From: bfraser@geoanalytic.com<br>> >> >> >> >> >> >> To: franzzoa@hotmail.com<br>> >> >> >> >> >> >> CC: geomoose-users@lists.sourceforge.net<br>> >> >> >> >> >> >><br>> >> >> >> >> >> >> libgd is not important to ANGLE FOLLOW (at least not <br>> > that I'm<br>> >> >> >> >> aware<br>> >> >> >> >> >> of).<br>> >> >> >> >> >> >> Are your labels using a<br>> >> >> >> > TrueType font (not bitmapped)? When you say<br>> >> >> >> >> >> >> they<br>> >> >> >> >> >> >> don't align, does that mean they are only horizontal? <br>> > Are the<br>> >> >> >> >> layers<br>> >> >> >> >> >> >> you<br>> >> >> >> >> >> >> are trying to label TYPE LINE?<br>> >> >> >> >> >> >><br>> >> >> >> >> >> >> Best Regards,<br>> >> >> >> >> >> >> Brent Fraser<br>> >> >> >> >> >> >><br>> >> >> >> >> >> >> > Hi All, I need to find out whether I have libgd with my<br>> >> >> >> >> mapserver<br>> >> >> >> >> >> >> > installation- I'm using gm2 on ms2.3.1. as my labels don't<br>> >> >> >> align<br>> >> >> >> >> >> with<br>> >> >> >> >> >> >> my<br>> >> >> >> >> >> >> > line feature even after I have used angle follow in my<br>> >> >> >> mapfile.<br>> >> >> >> >> >> I've<br>> >> >> >> >> >> >> > downloaded the gd-2.0.33-1 binaries but honestly i'm not<br>> >> > sure<br>> >> >> >> >> what<br>> >> >> >> >> >> i'm<br>> >> >> >> >> >> >> > doing with them. Can anyone help! Thanks. Franz Okyere.<br>> >> >> >> > GIS<br>> >> >> >> >> >> >> SPECIALIST.<br>> >> >> >> >> >> >> ><br>> >> >> >> >> >> >> ><br>> >> > _________________________________________________________________<br>> >> >> >> >> >> >> > Got more than one Hotmail account? Save time by <br>> > linking them<br>> >> >> >> >> >> together<br>> >> >> >> >> >> >> > http://clk.atdmt.com/UKM/go/186394591/direct/01/<br>> >> >> >> >> >> >> ><br>> >> > <br>> > ------------------------------------------------------------------------------<br>> >> >> >> >> >> >> > Let Crystal Reports handle the reporting - Free Crystal<br>> >> >> >> Reports<br>> >> >> >> >> >> 2008<br>> >> >> >> >> >> >> > 30-Day<br>> >> >> >> >> >> >> > trial. Simplify your report design, integration and<br>> >> >> >> deployment -<br>> >> >> >> >> >> and<br>> >> >> >> >> >> >> focus<br>> >> >> >> >> >> >> > on<br>> >> >> >> >> >> >> > what you do best, core<br>> >> >> >> > application coding. Discover what's new with<br>> >> >> >> >> >> >> > Crystal Reports now. http://p.sf.net/sfu/bobj-july<br>> >> >> >> >> >> >> > _______________________________________________<br>> >> >> >> >> >> >> > Geomoose-users mailing list<br>> >> >> >> >> >> >> > Geomoose-users@lists.sourceforge.net<br>> >> >> >> >> >> >> > <br>> > https://lists.sourceforge.net/lists/listinfo/geomoose-users<br>> >> >> >> >> >> >> ><br>> >> >> >> >> >> >> ><br>> >> >> >> >> >> >><br>> >> >> >> >> >> ><br>> >> > _________________________________________________________________<br>> >> >> >> >> >> > Use Hotmail to send and receive mail from your different <br>> > email<br>> >> >> >> >> >> accounts<br>> >> >> >> >> >> > http://clk.atdmt.com/UKM/go/186394592/direct/01/<br>> >> >> >> >> >> ><br>> >> >> >> >> >><br>> >> >> >> >> >><br>> >> >> >> >> ><br>> >> >> >> >> > <br>> > _________________________________________________________________<br>> >> >> >> >> > Got more than one Hotmail account? Save time by linking them<br>> >> >> >> together<br>> >> >> >> >> > http://clk.atdmt.com/UKM/go/186394591/direct/01/<br>> >> >> >> >> ><br>> >> > <br>> > ------------------------------------------------------------------------------<br>> >> >> >> >> > Let Crystal Reports handle the reporting - Free Crystal Reports<br>> >> >> >> 2008<br>> >> >> >> >> > 30-Day<br>> >> >> >> >> > trial. Simplify your report design, integration and deployment -<br>> >> >> >> and<br>> >> >> >> >> focus<br>> >> >> >> >> > on<br>> >> >> >> >> > what you do best, core application coding. Discover what's new<br>> >> > with<br>> >> >> >> >> > Crystal Reports now. http://p.sf.net/sfu/bobj-july<br>> >> >> >> >> > _______________________________________________<br>> >> >> >> >> > Geomoose-users mailing list<br>> >> >> >> >> > Geomoose-users@lists.sourceforge.net<br>> >> >> >> >> > https://lists.sourceforge.net/lists/listinfo/geomoose-users<br>> >> >> >> >> ><br>> >> >> >> >> ><br>> >> >> >> >><br>> >> >> >> >><br>> >> >> >> ><br>> >> >> >> > View your other email accounts from your Hotmail inbox. Add <br>> > them now.<br>> >> >> >> ><br>> >> >> >> ><br>> >> >> >> ><br>> >> >> >> ><br>> >> >> >> ><br>> >> >> >> > _________________________________________________________________<br>> >> >> >> > Use Hotmail to send and receive mail from your different email<br>> >> >> >> accounts<br>> >> >> >> > http://clk.atdmt.com/UKM/go/186394592/direct/01/<br>> >> >> >> ><br>> >> > <br>> > ------------------------------------------------------------------------------<br>> >> >> >> > Let Crystal Reports handle the reporting - Free Crystal Reports <br>> > 2008<br>> >> >> >> > 30-Day<br>> >> >> >> > trial. Simplify your report design, integration and deployment <br>> > - and<br>> >> >> >> focus<br>> >> >> >> > on<br>> >> >> >> > what you do best, core application coding. Discover what's new with<br>> >> >> >> > Crystal Reports now. http://p.sf.net/sfu/bobj-july<br>> >> >> >> > _______________________________________________<br>> >> >> >> > Geomoose-users mailing list<br>> >> >> >> > Geomoose-users@lists.sourceforge.net<br>> >> >> >> > https://lists.sourceforge.net/lists/listinfo/geomoose-users<br>> >> >> >> ><br>> >> >> >> ><br>> >> >> >><br>> >> >> >><br>> >> >> ><br>> >> >> > _________________________________________________________________<br>> >> >> > Have more than one Hotmail account? Link them together to easily <br>> > access<br>> >> >> > both<br>> >> >> > http://clk.atdmt.com/UKM/go/186394591/direct/01/<br>> >> >> ><br>> >> > <br>> > ------------------------------------------------------------------------------<br>> >> >> > Let Crystal Reports handle the reporting - Free Crystal Reports 2008<br>> >> >> > 30-Day<br>> >> >> > trial. Simplify your report design, integration and deployment - and<br>> >> > focus<br>> >> >> > on<br>> >> >> > what you do best, core application coding. Discover what's new with<br>> >> >> > Crystal Reports now. http://p.sf.net/sfu/bobj-july<br>> >> >> > _______________________________________________<br>> >> >> > Geomoose-users mailing list<br>> >> >> > Geomoose-users@lists.sourceforge.net<br>> >> >> > https://lists.sourceforge.net/lists/listinfo/geomoose-users<br>> >> >> ><br>> >> >> ><br>> >> >><br>> >> >><br>> >> ><br>> >> > ------------------------------------------------------------------------<br>> >> > New! Receive and respond to mail from other email accounts from within<br>> >> > Hotmail Find out how. <http://clk.atdmt.com/UKM/go/186394593/direct/01/ ><br>> > <br>> > ------------------------------------------------------------------------<br>> > View your other email accounts from your Hotmail inbox. Add them now. <br>> > <http://clk.atdmt.com/UKM/go/186394592/direct/01/><br>> > <br>> > <br>> > ------------------------------------------------------------------------<br>> > <br>> > ------------------------------------------------------------------------------<br>> > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day <br>> > trial. Simplify your report design, integration and deployment - and focus on <br>> > what you do best, core application coding. Discover what's new with<br>> > Crystal Reports now. http://p.sf.net/sfu/bobj-july<br>> > <br>> > <br>> > ------------------------------------------------------------------------<br>> > <br>> > _______________________________________________<br>> > Geomoose-users mailing list<br>> > Geomoose-users@lists.sourceforge.net<br>> > https://lists.sourceforge.net/lists/listinfo/geomoose-users<br>                                            <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>