Skip to content

add-layer (from wms) should be postponed until capabilities has loaded #6869

Answered by nf-s
pvgenuchten asked this question in Q&A
Discussion options

You must be logged in to vote

Oh I see. Yes I agree, members shouldn't show until the group has finished loading. Because you have defined manual wms items, Terria won't have "merged" them with items generated by the GetCapabilities response - so until it finishes loading they will be incomplete.

I made an issue to capture this

We generally discourage use of members in "dynamic" groups like wms-group, as it can result in "stub"/incomplete items - for example if a WMS server were to unpublish a layer, or if a network error were to occur, you would be left with an incomplete WMS item (in the same way as you found before loading had finished).

What are you trying to achieve by manually defining wms-group members?…

Replies: 7 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by nf-s
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #6865 on September 04, 2023 12:13.