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

Fix GetLegendGraphic jpeg/jpg FORMAT bug #554

Closed
wants to merge 6 commits into from
Closed

Fix GetLegendGraphic jpeg/jpg FORMAT bug #554

wants to merge 6 commits into from

Conversation

mlechner
Copy link

Even GetCapabilities of a QGIS mapserver WMS tells jpeg is a valid format for GetLegendGraphic request, trying this format results in an exception telling that GetMap does not support "jpeg" format but works with the not listed "jpg". This pull request adds jpg, jpeg, image/jpg and image/jpeg as valid formats to GetMap and GetLegendGraphic requests

@ghost ghost assigned mhugent Apr 24, 2013
@mhugent
Copy link
Contributor

mhugent commented May 7, 2013

The current system of advertising and testing supported output types is not optimal (too redundant, the information has to be entered in too many places). Obviously, this is not the fault of the patch, the server code has grown like that in the past.
I therefore prefer to disable advertising 'jpeg' for GetLegendGraphic for now (commit 469fb25) and think about a better system of storing supported output types in the mid-term.

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.

None yet

2 participants