Opened 20 years ago

Last modified 17 years ago

#1009 closed enhancement

WMS GetLegendGraphic should honour class->scale — at Initial Version

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

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 (0)

Note: See TracTickets for help on using tickets.