Skip to content
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

Loading layers into a tree using the 'Load from service' functionality #227

Open
RicardCots opened this issue Oct 16, 2024 · 1 comment
Open
Labels
bug Something isn't working

Comments

@RicardCots
Copy link

Describe the bug
The ‘load from service’ functionality in the layer tree produces an error when in the SITMUN manager there are two layers with the same name ( of the respective service capabilities).

When among the layers that you want to register in the tree there is one that has a name ( of the capabilities) that is repeated among the layers registered in the SITMUN administrator (this happens when two layers of different WMS services have the same name), the administrator gets confused and loads the first of the two that it finds, not the one that corresponds to the service to which it belongs.

To Reproduce
Steps to reproduce the behavior:

  1. Configure those two WMS services with the respective layers:

https://www.cartociudad.es/wms-inspire/direcciones-ccpp

https://sitmun.diba.cat/wms/INSPIRE/AD

Both layers contain a layer called AD.Address

  1. Try to load from service on a tree of those services. The function will load the first layer that finds.
  2. Check the layer atributes in the layer tree and see the error.

Expected behavior
The function 'Load From layer' sould check not only the layer name but also the service where it belongs.

Screenshots
imagen

@fjlopez
Copy link
Contributor

fjlopez commented Oct 16, 2024

The form has all the information to select only cartographies from the selected service. It is clearly a bug of the administrator.

@fjlopez fjlopez added the bug Something isn't working label Oct 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants