[Geoserver-users] layer-parameter in GetLegendGraphic-link without workspace prefix

Hi,

Geoserver generates GetLegendGraphic-requests as the legend url. Here we stumbled upon a slight difference between

first the layer-name to which a style-element and its legend url belong (e.g. “tiger:poi” in the example below)

and second the “layer” attribute value of the GetLegendGraphic-request which is just “poi”, without a namespace/workspace prefix.

I would expect that the missing prefix could lead to ambiguities if different workspaces do have an equally named layer, correct?

Or is it on purpose, are there any reasons for this behaviour?

GetCapabilities example:

tiger:poi

Manhattan (NY) points of interest

….

burg A small red flag A sample of how to use an SVG based symbolizer image/png

Best regards,

Sven