Opened 19 years ago

Closed 17 years ago

Last modified 17 years ago

#1009 closed enhancement (fixed)

WMS GetLegendGraphic should honour class->scale

Reported by: dmorissette Owned by: mapserverbugs
Priority: high Milestone: FUTURE
Component: WMS Server Version: 4.3
Severity: minor Keywords:
Cc: bartvde@…, valik.solorzano.barboza@…

Description (last modified by dmorissette)

Bug 809 implemented support for the SCALE parameter in GetLegendGraphic, but as
was pointed out in bug 809 comment 11 to 13, this will be of no real use until
msDrawLegend() honours the minscale/maxscale settings of the classes.

So we're filing this bug as a future enhancement: we should add support for
class minscale/maxscale for GetLegendGraphic requests when SCALE is explicitly
specified. Possible impacts on the mapserv CGI's legend should be taken into
account if/when we do this.

Also make sure that whatever is done in this bug is compatible with the fix to
bug 1007.

Change History (5)

comment:1 by dmorissette, 19 years ago

Milestone: FUTURE

comment:2 by bartvde@…, 18 years ago

Daniel, how does this relate to bug 1524 which has been fixed recently? Will it
work automatically now, or does it require additional changes?

comment:3 by dmorissette, 18 years ago

The fix to bug 1524 may have solved this, but someone would have to test to
verify that you get what you expect. Also another thing to test would be what
happens if there is no class that matches the specified scale (bug 1007). Was
this addressed in bug 1524 as well?

comment:4 by dmorissette, 17 years ago

Description: modified (diff)
Resolution: fixed
Status: newclosed

Sounds like support of class minscale/maxscale would have been fixed in #1254. If not then please reopen with more details.

comment:5 by dmorissette, 17 years ago

Sorry, I meant in #1524.

Note: See TracTickets for help on using tickets.