[Geomoose-users] Curved labels and libgd or gd.

FRANZ OKYERE franzzoa at hotmail.com
Mon Nov 23 08:07:46 EST 2009


I'll try that and see how it goes.  Thanks.

> Date: Sun, 22 Nov 2009 20:43:50 -0700
> Subject: Re: [Geomoose-users] Curved labels and libgd or gd.
> From: bfraser at geoanalytic.com
> To: franzzoa at hotmail.com
> CC: geomoose-users at lists.sourceforge.net
> 
> That means Mapserver is not sending back an image (but is likely sending
> back an error message).  You could turn set DEBUG 5 in the LAYER (and
> you'll likely need to set the MAP's CONFIG MS_ERRORFILE 
> "\ms4w\tmp\mserror.txt") to see if it reports a error.  Or you could use
> an HTTP sniffer like smartsniff to view the conversation between Geomoose
> and mapserver.
> 
> Brent
> 
> 
> > Yes I use vera_sans which happens to be in the fontset.list but then the
> > background goes pinkish, you know.
> >
> >> Date: Sun, 22 Nov 2009 14:44:27 -0700
> >> Subject: RE: [Geomoose-users] Curved labels and libgd or gd.
> >> From: bfraser at geoanalytic.com
> >> To: franzzoa at hotmail.com
> >>
> >> Sounds like the problem is with TrueType fonts.  What do you specify for
> >> the font name?  Is it in the fonts\fontset.list?  What is your MAP ->
> >> FONTSET pointing to?
> >>
> >> >
> >> > 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.
> >> >
> >> >   LAYER
> >> >     NAME 'demoroads2'
> >> >     TYPE LINE
> >> >     DATA 'C:\ms4w\apps\geomoose2\maps\demo\countydata\demoroads.shp'
> >> >     METADATA
> >> >       'wms_title' 'demoroads'
> >> >     END
> >> >     STATUS DEFAULT
> >> >     TRANSPARENCY 100
> >> >     PROJECTION
> >> >     'proj=longlat'
> >> >     'ellps=WGS84'
> >> >     'datum=WGS84'
> >> >     'no_defs'
> >> >     END
> >> > CLASS
> >> >   EXPRESSION ('[ROADCLASS]' eq 'C')
> >> >
> >> >   STYLE
> >> >     COLOR 255 0 0
> >> >     SYMBOL 'plainline'
> >> >     SIZE 2
> >> >     MINSIZE 1
> >> >     MAXSIZE 4
> >> >   END
> >> >
> >> >
> >> > END
> >> > END
> >> >
> >> >
> >> > #and then I use an annotation layer to add the labels
> >> >
> >> >         LAYER # Road layer
> >> >         NAME road_labels
> >> >         DATA
> >> 'C:\ms4w\apps\geomoose2\maps\demo\countydata\demoroads.shp'
> >> >         STATUS ON
> >> >         TYPE annotation
> >> >         MAXSCALEDENOM 2834
> >> >         MINSCALEDENOM 1400
> >> >         LABELITEM 'ROAD_NAME'
> >> >         LABELCACHE ON
> >> >
> >> >         CLASS
> >> >         LABEL
> >> >
> >> >         COLOR 144 250 0
> >> >
> >> >         BUFFER 4
> >> >         ANGLE AUTO
> >> >        END
> >> >          END
> >> > END  # End of Road layer
> >> >
> >> > 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?
> >> >
> >> > Cheers.
> >> >
> >> > Franz Okyere.
> >> >  GIS Specialist
> >> >
> >> >
> >> >
> >> >
> >> >
> >> >
> >> >
> >> >> Date: Sun, 22 Nov 2009 11:36:55 -0700
> >> >> Subject: Re: [Geomoose-users] Curved labels and libgd or gd.
> >> >> From: bfraser at geoanalytic.com
> >> >> To: franzzoa at hotmail.com
> >> >> CC: geomoose-users at lists.sourceforge.net
> >> >>
> >> >> libgd is not important to ANGLE FOLLOW (at least not that I'm aware
> >> of).
> >> >> Are your labels using a TrueType font (not bitmapped)?  When you say
> >> >> they
> >> >> don't align, does that mean they are only horizontal?  Are the layers
> >> >> you
> >> >> are trying to label TYPE LINE?
> >> >>
> >> >> Best Regards,
> >> >> Brent Fraser
> >> >>
> >> >> > Hi All, I need to find out whether I have libgd with my mapserver
> >> >> > installation- I'm using gm2 on ms2.3.1. as my labels don't align
> >> with
> >> >> my
> >> >> > line feature even after I have used angle follow in my mapfile.
> >> I've
> >> >> > downloaded the gd-2.0.33-1 binaries but honestly i'm not sure what
> >> i'm
> >> >> > doing with them. Can anyone help! Thanks. Franz Okyere. GIS
> >> >> SPECIALIST.
> >> >> >
> >> >> > _________________________________________________________________
> >> >> > Got more than one Hotmail account? Save time by linking them
> >> together
> >> >> >  http://clk.atdmt.com/UKM/go/186394591/direct/01/
> >> >> > ------------------------------------------------------------------------------
> >> >> > Let Crystal Reports handle the reporting - Free Crystal Reports
> >> 2008
> >> >> > 30-Day
> >> >> > trial. Simplify your report design, integration and deployment -
> >> and
> >> >> focus
> >> >> > on
> >> >> > what you do best, core application coding. Discover what's new with
> >> >> > Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> >> >> > _______________________________________________
> >> >> > Geomoose-users mailing list
> >> >> > Geomoose-users at lists.sourceforge.net
> >> >> > https://lists.sourceforge.net/lists/listinfo/geomoose-users
> >> >> >
> >> >> >
> >> >>
> >> > _________________________________________________________________
> >> > Use Hotmail to send and receive mail from your different email
> >> accounts
> >> > http://clk.atdmt.com/UKM/go/186394592/direct/01/
> >> >
> >>
> >>
> >
> > _________________________________________________________________
> > Got more than one Hotmail account? Save time by linking them together
> >  http://clk.atdmt.com/UKM/go/186394591/direct/01/
> > ------------------------------------------------------------------------------
> > Let Crystal Reports handle the reporting - Free Crystal Reports 2008
> > 30-Day
> > trial. Simplify your report design, integration and deployment - and focus
> > on
> > what you do best, core application coding. Discover what's new with
> > Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> > _______________________________________________
> > Geomoose-users mailing list
> > Geomoose-users at lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/geomoose-users
> >
> >
> 
> 
 		 	   		  
_________________________________________________________________
View your other email accounts from your Hotmail inbox. Add them now.
http://clk.atdmt.com/UKM/go/186394592/direct/01/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/geomoose-users/attachments/20091123/ece4f203/attachment.html


More information about the Geomoose-users mailing list