<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>
Hi all,<BR>
<BR>
Its it a behaviour for the shp2img to produce some weird characters a@ 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 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 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 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, and from<BR>> >> use<BR>> >> > error log, premature end of script headers (not sure what this 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 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 to the<BR>> >> image<BR>> >> > (which should be in italics to indicate it is "broken"), then 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 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 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 your MAP<BR>> >> -><BR>> >> >> >> FONTSET pointing to?<BR>> >> >> >><BR>> >> >> >> ><BR>> >> >> >> > Yes Brent Here is portion of my map file that is supposed 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 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 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 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? 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 sure<BR>> >> >> what<BR>> >> >> >> i'm<BR>> >> >> >> >> > doing with them. Can anyone help! Thanks. Franz Okyere.<BR>> >> > GIS<BR>> >> >> >> >> SPECIALIST.<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>> >> >> >> >> > 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>> >> >> >> >> > https://lists.sourceforge.net/lists/listinfo/geomoose-users<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>> >> >> ><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>> >> >> > 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>> >> > View your other email accounts from your Hotmail inbox. Add 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>> >> > 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>> > Have more than one Hotmail account? Link them together to easily access<BR>> > both<BR>> > http://clk.atdmt.com/UKM/go/186394591/direct/01/<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 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 /><hr />New! Receive and respond to mail from other email accounts from within Hotmail <a href='http://clk.atdmt.com/UKM/go/186394593/direct/01/ ' target='_new'>Find out how.</a></body>
</html>