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

Enhances WMS to throw an exception if the requested CRS is not configured #661

Merged
merged 7 commits into from
May 14, 2022

Conversation

lgoltz
Copy link
Contributor

@lgoltz lgoltz commented Jan 5, 2016

Currently the WMS throws an exception if the requested CRS in GetMap and GetFeature requests is not supported by deegree. This pull requests changes this behavior to throw an InvalidSRS/InvalidCRS exception if the requested CRS is not configured (not declared in the capabilities).
To avoid breaking of clients expecting the old behavior this is configurable. By default deegree checks only if the CRS is not supported. To limit this to the configured CRS, the service configuration must be extended:

<wms:CrsCheckStrict>true</wms:CrsCheckStrict>

@dstenger dstenger added the enhancement enhancement or improvement label Jan 5, 2016
@tfr42 tfr42 added the under review PR under review by TMC member label Jan 7, 2016
@tfr42 tfr42 added this to the 3.5 milestone Jan 21, 2016
@tfr42
Copy link
Member

tfr42 commented Jan 21, 2016

PR is OK. But for the RC line we accept bug fixes only. This is why we have put it onto milestone 3.5. It might be included in 3.4.1 too.

@tfr42 tfr42 modified the milestones: 3.4.1, 3.5 Aug 11, 2016
@tfr42 tfr42 removed the under review PR under review by TMC member label Aug 11, 2016
@tfr42 tfr42 modified the milestones: 3.4.1, 3.5 Jun 18, 2018
@tfr42 tfr42 added needs rebase PR is not up to date and needs rebase and removed in progress labels Nov 27, 2018
@tfr42 tfr42 modified the milestones: 3.5, 3.4.4 Nov 30, 2018
@lgoltz lgoltz removed the needs rebase PR is not up to date and needs rebase label Jan 24, 2019
@tfr42 tfr42 added the schema change change to deegree configuration files label Jan 25, 2019
@copierrj
Copy link
Member

The TMC discussed this pull request which resulted in a more in depth discussion related to the proposed xml schema change. We decided to not yet merge this PR and continue the discussion in the next TMC meeting. See for details: #953

@tfr42 tfr42 modified the milestones: 3.4.4, 3.5 Mar 1, 2019
@tfr42 tfr42 added the WMS deegree Web Map Service label Feb 12, 2021
@tfr42 tfr42 changed the title enhanced WMS to throw an exception if the requested CRS is not configured Enhances WMS to throw an exception if the requested CRS is not configured May 13, 2022
@tfr42 tfr42 added the ready label May 13, 2022
@tfr42 tfr42 merged commit 739775b into deegree:main May 14, 2022
@lgoltz lgoltz deleted the throwExceptionIfCrsIsNotConfigured-163 branch December 8, 2022 09:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement enhancement or improvement ready schema change change to deegree configuration files WMS deegree Web Map Service
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants