[Geomoose-users] Curved labels and libgd or gd.
FRANZ OKYERE
franzzoa at hotmail.com
Sun Nov 22 14:58:55 EST 2009
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/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/geomoose-users/attachments/20091122/73eb1ed8/attachment.html
More information about the Geomoose-users
mailing list