Need a way to control layer legend labels via WMS
In bug 653, we need a way to use the "WMS_TITLE" metadata as the legend label
for a graphic legend image produced by GetLegendGraphic.
Normally, it's the NAME of the layer that is used as the label in a graphic
legend, but in the case of WMS layers, the name is usually a shorter unique
string, and the WMS_TITLE is the human-readable version.
I'd hate to have to hack something in the graphical legend code to support
reading label values from metadata... but is there any other options?
Any thoughts? Suggestions?
Change History
(4)
Cc: |
mapserver-bugs@… added
|