-
Notifications
You must be signed in to change notification settings - Fork 410
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 displaying WMS layers from data.geopf.fr in 3d mode #10732
Conversation
…-it#10592) data.geopf.fr only supports WMS 1.3.0. Cesium defaults to 1.1.1. Pass the version from the options, and default to 1.1.1 if unset.
i've blindly added tests, but havent been able to run them locally...
trusting GH actions to do it for me. edit: my tests are green
|
@landryb thank you for your contribution. We will review it soon. Added to next 2025.01 |
@landryb thanks for the contribution! |
@tdipisa @allyoucanmap can that eventually be backported to 2024.02 ? since lots of georchestra platforms are in france and potentially use layers from data.geopf.fr, and we're just about to migrate to 2024.02, this way we'll get the bugfix upon stable branch updates in ms2-geor.. |
Hi @landryb I don't think it is a problem as it is a bug fix and also functional test is passed. You can backport, thank you. |
Description
https://data.geopf.fr/wms-r/wms & https://data.geopf.fr/wms-v/wms services only supports WMS 1.3.0. Cesium defaults to 1.1.1, so right now loading a layer from those services in 3d mode only results in 400 error codes. Pass the version from the options, and default to 1.1.1 if unset.
Please check if the PR fulfills these requirements
What kind of change does this PR introduce? (check one with "x", remove the others)
Issue
What is the current behavior?
#10592
What is the new behavior?
loading WMS layers in 3d mode from data.geopf.fr works.
Breaking change
Does this PR introduce a breaking change? (check one with "x", remove the other)
This might have the side effect of changing lots of WMS layers in existing 3d maps to now use WMS 1.3.0 ? At least it now allows me to load WMS layers from https://data.geopf.fr/wms-r/wms and https://data.geopf.fr/wms-v/wms.
Other useful information