mapcache icon indicating copy to clipboard operation
mapcache copied to clipboard

Add support for GetLegendGraphic

Open fredmorin opened this issue 11 years ago • 4 comments

Use the source url to execute getlegendgraphic. Forwarding rules are too restrictive to request getlegendgraphic when exposing multiple tileset/sources.

fredmorin avatar May 07 '14 17:05 fredmorin

Untested implementation available at https://github.com/fredmorin/mapcache

fredmorin avatar May 07 '14 17:05 fredmorin

Please explain why forwarding rules are too limited. What should the behavior be when multiple layers/tilesets are requested in a single getlegendgraphic request?

tbonfort avatar May 07 '14 17:05 tbonfort

I have multiple wms sources, with different urls. I want to forward the GetLegendGraphic request to the source url. I have to create one forwarding rule for each source.

If mapcache could forward GetLegendGraphic requests to source service as it forwards GetFeatureInfo, we wouldn't have to write multiple forwarding rules.

fredmorin avatar May 07 '14 17:05 fredmorin

Is there any news on this topic ? :)

jbelien avatar Oct 22 '17 12:10 jbelien