[Mapserver-users] html legend - strange behaviour

Daniel Morissette dmorissette at dmsolutions.ca
Wed Mar 24 11:30:38 EST 2004


Möri Cédric wrote:
> 
> The same mapfile and legendtemplate worked fine in the 3.6.6-Mapserver
> Version.
> 
> Anyone an idea, what is going on here? Is this the same issue as my suddenly
> poping of msyyparse-error as an error in the expression parsing? Is it
> something funky with my data?
> 

I tried your set of classes and legend template with one of my mapfiles 
and I get the right colors. This, combined with your odd msyyparse() 
error suggests that there may be something wrong with your build or your 
system config. Normally, parser errors in a mapfile should return a 
meaningful error message with MapServer 4, not the cryptic msyyparse() 
error that you got and that is probably coming from an area of the code 
that never fails in normal conditions.

The best I can suggest is to try doing a clean build of MapServer, and 
double-checking all the support libs (GD, freetype, libpng, gdal, etc.) 
to make sure that you don't have any duplicate copy of any lib and that 
MapServer is using the libs that you think it is using.

Daniel
-- 
------------------------------------------------------------
  Daniel Morissette               dmorissette at dmsolutions.ca
  DM Solutions Group              http://www.dmsolutions.ca/
------------------------------------------------------------




More information about the mapserver-users mailing list