Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

server: add "LAYER" to allowed parameters for GetLegendGraphic #8561

Closed
wants to merge 2 commits into from

Conversation

JakobMiksch
Copy link
Contributor

  • for the WMS request GetLegendGraphic it is allowed to also send the parameter LAYER and not only LAYERS (with S) as described previously, this PR fixes this
  • this is important because other geospatial software like GeoServer, MapServer and OpenLayers rely on the paramter LAYER
  • Backport to LTR documentation is requested

Copy link
Collaborator

@DelazJ DelazJ left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JakobMiksch Do you know if the other requests of wms service also use LAYER or is it GetLegendGraphic only? I'm asking because the section we link to concerns all the request types.

docs/server_manual/services/wms.rst Outdated Show resolved Hide resolved
Co-authored-by: Harrissou Sant-anna <delazj@gmail.com>
@JakobMiksch
Copy link
Contributor Author

@JakobMiksch Do you know if the other requests of wms service also use LAYER or is it GetLegendGraphic only? I'm asking because the section we link to concerns all the request types.

I will check and get back to you

@JakobMiksch
Copy link
Contributor Author

JakobMiksch commented Oct 23, 2023

@JakobMiksch Do you know if the other requests of wms service also use LAYER or is it GetLegendGraphic only? I'm asking because the section we link to concerns all the request types.

@DelazJ Here is what I could find out:

  • for DescribeLayer only LAYERS (plural) is possible
  • for GetStyle both LAYER (singular) and LAYERS (plural) is possible
  • for GetMap both LAYER (singular) and LAYERS (plural) is possible
  • for GetFeatureInfo both LAYER (singular) and LAYERS (plural) is possible
  • for GetPrint I could not check

@DelazJ
Copy link
Collaborator

DelazJ commented Oct 30, 2023

See #8584 for a more "complete" PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants