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

Add support for retrieving exception formats from WMS capabilities #67

Merged
merged 5 commits into from
Oct 25, 2024

Conversation

ejn
Copy link
Contributor

@ejn ejn commented Sep 23, 2024

This PR builds on #66 and adds additional support for retrieving the list of available Exception formats from WMS capabilities.

Although this list is usually static - varying depending only on the WMS version being used - according to the standard only the XML format is required and the image exception formats may therefore not be available on a given WMS endpoint.

Note that I have deliberately set the type definition for exceptionFormats to MimeType[] | string[] because the WMS 1.3.0 spec does not use MIME-like syntax for the format strings.

Copy link
Member

@jahow jahow left a comment

Choose a reason for hiding this comment

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

Thank you!

@jahow jahow merged commit ecb3450 into camptocamp:main Oct 25, 2024
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.

3 participants