Opened 17 years ago

Last modified 17 years ago

#2019 new defect

No html legend when it contains too many elements

Reported by: johan.vandewauw@… Owned by: sdlime
Priority: high Milestone:
Component: MapServer CGI Version: 4.10
Severity: normal Keywords:
Cc:

Description

(This bug is probably related to bug #1946)

When using mapserver 4.10 or todays nightly cvs-dump no legend is generated when
that legend contains too many elements.

In attachment 2 mapfiles: in the first one it is impossible to show the legend
of the "soils" layer, even though it shows up fine in the map itself.
The second mapfile contains the same file, but with less elements and here the
legend works as long as you don't add any other layers, in which case it also fails.

Sample screenshot: http://users.ugent.be/~jvdewauw/2.png : no legend is shown,
vs http://users.ugent.be/~jvdewauw/1.png how it should look.


When generating image legends no problems occur.

Attachments (1)

msbug.tar.gz (3.5 KB ) - added by johan.vandewauw@… 17 years ago.
2 mapfiles and templates demonstrating the legend problem

Download all attachments as: .zip

Change History (5)

by johan.vandewauw@…, 17 years ago

Attachment: msbug.tar.gz added

2 mapfiles and templates demonstrating the legend problem

comment:1 by johan.vandewauw@…, 17 years ago

I forgot to add that the code works fine when using mapserver 4.10

comment:2 by johan.vandewauw@…, 17 years ago

Aargh... Forget the last comment and change to: 
It works fine using 4.8

comment:3 by sdlime, 17 years ago

Cc: mapserver-bugs@… added

comment:4 by sdlime, 17 years ago

Cc: dmorissette@… added
Note: See TracTickets for help on using tickets.