Skip to content

PB-259, PB-329: Improve external WMS/WMTS layers startup performance #680

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 8 commits into from
Mar 6, 2024

Conversation

ltshb
Copy link
Contributor

@ltshb ltshb commented Mar 1, 2024

Avoid loading multiple times the WMS/WMTS capabilities and avoid doing multiple
dispatch.

This reduce the startup time especially with multiple layers of the same source
we can gain several seconds.

  • TODO e2e tests

Test link

Copy link

cypress bot commented Mar 1, 2024

Passing run #906 ↗︎

0 167 22 0 Flakiness 0

Details:

Fix test after rebase
Project: web-mapviewer Commit: 874f4d76ab
Status: Passed Duration: 04:39 💡
Started: Mar 6, 2024 9:00 AM Ended: Mar 6, 2024 9:05 AM

Review all test suite changes for PR #680 ↗︎

@ltshb ltshb force-pushed the feat-PB-259-menu-module branch 3 times, most recently from e89754c to e9986a7 Compare March 4, 2024 07:19
@ltshb ltshb force-pushed the feat-PB-259-update-layers branch from aeec444 to cfa87d3 Compare March 4, 2024 07:41
@ltshb ltshb changed the base branch from feat-PB-259-menu-module to develop March 4, 2024 07:47
@ltshb ltshb force-pushed the feat-PB-259-update-layers branch 2 times, most recently from f78ebac to 9e8704e Compare March 4, 2024 15:56
@ltshb ltshb changed the title PB-259: Improve external WMS/WMTS layers startup performance PB-259, PB-329: Improve external WMS/WMTS layers startup performance Mar 5, 2024
@ltshb ltshb force-pushed the feat-PB-259-update-layers branch 8 times, most recently from 3033920 to 298b798 Compare March 5, 2024 13:54
@ltshb ltshb marked this pull request as ready for review March 5, 2024 13:54
@ltshb ltshb requested review from pakb and ltkum March 5, 2024 13:54
@ltshb ltshb requested a review from pakb March 6, 2024 07:23
@ltshb ltshb force-pushed the feat-PB-259-update-layers branch from fbaad97 to 1e07eb6 Compare March 6, 2024 08:04
ltshb added 5 commits March 6, 2024 09:53
Avoid loading multiple times the WMS/WMTS capabilities and avoid doing multiple
dispatch.

This reduce the startup time especially with multiple layers of the same source
we can gain several seconds.
Make sure that that the layers coming from different urls and when adding more than
one layer from a provider that the get capabilities is not called several times.

Also make sure that the correct layer config is applied.
The layer id and also URL could contains specials characters ;,@| that are used
by the parsing. So we need to encode them. They are encoded using percent encode.

Other special characters are encoded by vue router.
The test now test the initial loading of several layers and make sure that
the Get Capabilities are called only once
External layer that did not specified its opacity in URL could not be displayed
as they default opacity was set to undefined. This has been broken with PR #677
ltshb added 3 commits March 6, 2024 09:56
The list of layer was inverted in the test.
@ltshb ltshb force-pushed the feat-PB-259-update-layers branch from c7dbf63 to 874f4d7 Compare March 6, 2024 08:57
@ltshb ltshb merged commit 106397c into develop Mar 6, 2024
@ltshb ltshb deleted the feat-PB-259-update-layers branch March 6, 2024 09:05
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