Skip to content

PB-496: External WMTS layer in 3d#828

Merged
ltshb merged 3 commits intodevelopfrom
bug-PB-496-external-wmts-3d
May 21, 2024
Merged

PB-496: External WMTS layer in 3d#828
ltshb merged 3 commits intodevelopfrom
bug-PB-496-external-wmts-3d

Conversation

@ltshb
Copy link
Contributor

@ltshb ltshb commented May 13, 2024

TODO in separate PR:

@github-actions github-actions bot added the bug label May 13, 2024
@cypress
Copy link

cypress bot commented May 13, 2024

Passing run #2181 ↗︎

0 204 20 0 Flakiness 0

Details:

PB-496: Added e2e tests for external layer with time dimension and bug fix
Project: web-mapviewer Commit: de13e67c40
Status: Passed Duration: 04:32 💡
Started: May 16, 2024 2:09 PM Ended: May 16, 2024 2:14 PM

Review all test suite changes for PR #828 ↗︎

@ltshb ltshb force-pushed the bug-PB-496-external-wmts-3d branch 5 times, most recently from d1aa4bf to f4505a9 Compare May 16, 2024 14:05
@ltshb ltshb changed the title PB-496: External WMTS layer in 3d (WIP) PB-496: External WMTS layer in 3d May 16, 2024
ltshb added 3 commits May 16, 2024 16:05
…xternal WMTS with time series

Now the External WMTS are also working on 3d.

Also added support for external WMTS with Time dimension, which can change the
time dimension with the UI.
@ltshb ltshb marked this pull request as ready for review May 16, 2024 14:05
@ltshb ltshb force-pushed the bug-PB-496-external-wmts-3d branch from f4505a9 to de13e67 Compare May 16, 2024 14:05
@ltshb ltshb requested a review from pakb May 16, 2024 14:12
Copy link
Contributor

@pakb pakb left a comment

Choose a reason for hiding this comment

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

That was a lot to add to achieve the wanted result 😮

this.availableProjections.push(WGS84)
}
this.getFeatureInfoCapability = getFeatureInfoCapability
this.currentYear = currentYear
Copy link
Contributor

Choose a reason for hiding this comment

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

does it really make sense to store this value, if we do not react/update the time config whenever it changes?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It is used by the external layer plugin once the capabilities has been loaded, so it is required

Comment on lines +40 to +41
const options = { ...externalWmtsLayerConfig.value.options }
options.dimensions = { ...options.dimensions }
Copy link
Contributor

Choose a reason for hiding this comment

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

Might make sense that we add some cloneDeep functions from Lodash or other library for such cases

@ltshb
Copy link
Contributor Author

ltshb commented May 17, 2024

That was a lot to add to achieve the wanted result 😮

I went a bit further by enabling time layer in external import as well 😉

@ltshb ltshb merged commit 1918899 into develop May 21, 2024
@ltshb ltshb deleted the bug-PB-496-external-wmts-3d branch May 21, 2024 03:56
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