Skip to content

PB-361: Divers External Layers bug fixes #740

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

Merged
merged 7 commits into from
Mar 27, 2024
Merged

Conversation

ltshb
Copy link
Contributor

@ltshb ltshb commented Mar 27, 2024

  • WMS projection case sensitivity
  • Fixed external layer timeout issue for jura.ch
  • Fixed external wmts layer for solotuhrn
  • implemented available projections for external WMTS.

Test link

@github-actions github-actions bot added the bug label Mar 27, 2024
Copy link

cypress bot commented Mar 27, 2024

Passing run #1367 ↗︎

0 166 22 0 Flakiness 0

Details:

PB-361: Avoid to load external WMTS capabilities multiple times
Project: web-mapviewer Commit: eb37dd97ad
Status: Passed Duration: 04:42 💡
Started: Mar 27, 2024 5:22 PM Ended: Mar 27, 2024 5:27 PM

Review all test suite changes for PR #740 ↗︎

@ltshb ltshb requested a review from pakb March 27, 2024 13:05
@ltshb ltshb force-pushed the bug-PB-361-external-layer branch 3 times, most recently from 592ee3e to bd53f43 Compare March 27, 2024 16:59
ltshb added 7 commits March 27, 2024 18:19
Therefore made the parsing case insensitive.
The removed duplicates logic did not worked as expected and removed all
projections from the list which resulted to fallback to WGS84.
Some provider are very slow, like for example the provider for jura.ch takes
~20-25s to download the get capabilities of 1.4MB !
Some provider like canton solothurn use KVP in WMTS instead of REST, those
were broken because the get capabilities done by our open layer component
did not added the KVP query parameters.

Now we use the same code as used in the external catalogue parsing.
This avoid error logs and made the code complete, even though those projections
are not used for WMTS layers.
Also removed possible race condition due to the .then() in cypress that don't
do retries in opposite of .should()
To avoid to load the get capabilities for each layers, we now save the WMTS
options in the layer object.

Due to this we need to register the proj4 projection earlier than in the open
layer map because the get capabilities are parsed during the startup before
openlayer map is loaded.
@ltshb ltshb force-pushed the bug-PB-361-external-layer branch from bd53f43 to eb37dd9 Compare March 27, 2024 17:19
@ltshb ltshb merged commit c0b9916 into develop Mar 27, 2024
6 checks passed
@ltshb ltshb deleted the bug-PB-361-external-layer branch March 27, 2024 17:27
@cypress cypress bot mentioned this pull request Mar 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants