[Mapserver-users] strange behaviour of LABELANGLEITEM

Eric Bridger eric at gomoos.org
Tue Jun 3 09:54:13 EDT 2003


I ran into something similiar quite a while back while using GDGraph.pm.
It was
an old bug concerning TrueType fonts and was solved by upgrading to a
newer version of GD. Sorry I can't remember what the version numbers
were.


On Tue, 2003-06-03 at 17:31, Randy James wrote:
> Hi
> 
> If each letter is an seperate point than you get the
> results you have. If you want to turn the whole string than
>  you should have the whole string as a label for a single
> point.
> 
> Cheers
> 
> --- Lowell Filak <lfilak at medinaco.org> wrote:
> > I believe it is most likely a GD/FreeType-mismatch issue.
> > You should be able to find something on the resolution in
> > the archives.
> > HTH
> > Lowell F.
> > 
> > The following message was sent by
> > =?iso-8859-15?q?Bj=F6rn=20Platzen?= <bplatzen at sosnetz.de>
> > on Tue, 3 Jun 2003 15:57:39 +0200.
> > 
> > > Hi List,
> > > 
> > > I have point-layers for the labeling of the streets,
> > where the dbf-file 
> > > provides the information about the angle of the lable
> > (in degrees).
> > > It seems, as if every letter is turned instead of the
> > whole label.
> > > 
> > > In my Mapfile it looks like this:
> > > 
> > > LAYER
> > >   NAME strassennamen1
> > >   TYPE annotation
> > >   STATUS on
> > >   MAXSCALE 7500
> > >   MINSCALE 3400
> > >   DATA NebenStrassennamen_text
> > >   LABELITEM "Strname"
> > >   LABELANGLEITEM "Text_angle" 
> > >     CLASS
> > >       LABEL
> > >         ANTIALIAS true
> > >         PARTIALS FALSE
> > >         POSITION cc
> > >         TYPE TRUETYPE
> > >         SIZE 8
> > >         FONT swiss
> > >         COLOR 0 0 0
> > >       END #LABEL
> > >     END #CLASS
> > > END #LAYER
> > > 
> > > The output can be found under
> > http://www.ividata.de/map_aachen.gif
> > > A Version with non-turned labels is under 
> > > http://www.ividata.de/map_aachen2.gif (just to see the
> > labels text...)
> > > 
> > > The degree-information looks like 
> > > 35.000000
> > > 297.000000
> > > 18.000000
> > > 309.000000
> > > 58.000000
> > > .
> > > .
> > > .
> > > 
> > > The shapes and dbf's were generated by MapInfo.
> > > 
> > > I hope, that anybody can tell me, what's wrong...
> > > 
> > > Bye,
> > > 
> > > Bjoern
> > > 
> > > -- 
> > > small office solutions
> > > info at sosnetz.de  -  http://www.sosnetz.de
> > > 
> > > _______________________________________________
> > > Mapserver-users mailing list
> > > Mapserver-users at lists.gis.umn.edu
> > >
> > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users
> > 
> > _______________________________________________
> > Mapserver-users mailing list
> > Mapserver-users at lists.gis.umn.edu
> > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users
> 
> 
> __________________________________
> Do you Yahoo!?
> Yahoo! Calendar - Free online calendar with sync to Outlook(TM).
> http://calendar.yahoo.com
> _______________________________________________
> Mapserver-users mailing list
> Mapserver-users at lists.gis.umn.edu
> http://lists.gis.umn.edu/mailman/listinfo/mapserver-users
> 





More information about the mapserver-users mailing list