[Mapserver-users] Nasty bug in labelcache?

Paco Regodon mapserver at meteologica.es
Fri Apr 30 09:51:40 EDT 2004


I have created bug #641:

http://mapserver.gis.umn.edu/bugs/show_bug.cgi?id=641

I have prepared a small (2kb) tgz with a minimal map and data set. It is 
attached to the bug report.

Thanks for your support.

Paco Regodón




On Thursday 29 April 2004 23:48, Daniel Morissette wrote:
> If you can prepare a test case to reproduce this (i.e. small dataset and
> mapfile) with MapServer 4.2 then please submit it as a bug in bugzilla
> and we'll have a look.  Otherwise without a way to reproduce the problem
> there is not much we can do to help unfortunately.
>
> Daniel
>
> Paco Regodon wrote:
> > I added a new layer to my map.  It is a points layer with wind data. I
> > needed to draw arrows showing wind direction, this way:
> >
> >
> > LAYER
> >   NAME wind
> >   DATA wind
> >   TYPE POINT
> >   PROJECTION "proj=utm" "zone=30"  END
> >   STATUS DEFAULT
> >   LABELANGLEITEM "DIR"
> >
> >   CLASS
> > 	TEXT '>'
> > 	LABEL
> > 		FONT "arial"
> > 		TYPE TRUETYPE
> > 		ANTIALIAS TRUE
> > 		COLOR 0 0 0
> > 		SIZE 40
> > 		ANGLE AUTO
> > 	END
> >   END
> > END
> >
> > About 50% of the times, cgi returns an invalid image, or a text/html
> > white page. I tried to use different output formats (PNG, PNG24, JPEG),
> > upgraded gd2 and freetype without success.
> >
> > When i added:
> >
> > LABELCACHE OFF
> >
> > Everything worked fine.
> >
> > Is it a bug? Was i doing something wrong?
> >
> > I am using this rpm's:
> >
> > mapserver-4.0-1mdk
> > freetype-1.3.1-18mdk
> > freetype2-2.1.3-12plf
> > libgd2-2.0.22-1mdk
> > libgdal0-1.1.9-2mdk
>
> _______________________________________________
> 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