You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As a Hajk setup grows, it can easily consist of thousands of Hajk layers (layers defined in layers.json). Over time, it because impossible to keep track of each layer individually.
The respective service (WMS, WFS, etc) can move the layer to another workspace, rename it or just become unavailable. All these situations will lead to Hajk Client having problem when loading maps with layers that do not exist where they are expected.
To ensure a high quality of services provided by Hajk, Backend could be extended with an endpoint that checks each layer's existence. The exact implementation will vary, but the main idea is to:
loop each of the defined layers
group them together depending on source
ask each source for a list of available layers (usually GetCapabilities)
compare the response from source with what we have in layers.json
mark diff layers as missing and return with the response
The text was updated successfully, but these errors were encountered:
I've already found some cases where we run into trouble. In this screenshot there are two layers (id 0 and 1) that have different names. But inside those layers there are more layers where names are seemingly duplicates (e.g. 2019 and 2020).
I'm writing this as a note to check it out further and see how we can distinguish between them. Simple recursive algorithm can't be enough as the two 2019/2020 sublayers are different, despite having the same name.
There's a slight misfortune here: this feature requires Node 18, but updating to it might not be feasible in some situations (see #1245). Nonetheless, this feature is complete and done.
As a Hajk setup grows, it can easily consist of thousands of Hajk layers (layers defined in
layers.json
). Over time, it because impossible to keep track of each layer individually.The respective service (WMS, WFS, etc) can move the layer to another workspace, rename it or just become unavailable. All these situations will lead to Hajk Client having problem when loading maps with layers that do not exist where they are expected.
To ensure a high quality of services provided by Hajk, Backend could be extended with an endpoint that checks each layer's existence. The exact implementation will vary, but the main idea is to:
GetCapabilities
)layers.json
The text was updated successfully, but these errors were encountered: