-
-
Notifications
You must be signed in to change notification settings - Fork 115
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
Filter application requires grouped layers #396
Comments
The filter plugin will currently only apply to theme layers, and any theme WMS from QGIS will come with sublayers (the toplevel layer begin the project itself, and the sublayers mirroring the QGIS layertree). How did you hit this restriction? |
I'm providing a WMS URL via a query parameter ( I'm absolutely open to understanding better ways to use the url-based layer functionality. I'm very much in trial-and-error mode. For instance, it looks like there might be a way to actually load a new theme configuration from a URL to a JSON file rather than a WMS layer directly? But I haven't figured that out yet, and can't find it in any documentation. |
Maybe it actually works. Can you try with this change
|
That's the change I had in mind. I'm targeting an existing install so I can't just patch that in, but I can try to set up a local copy to test with. It'll probably be a couple days. |
It seems like WMS filters can only apply to layers belonging to a group:
qwc2/utils/LayerUtils.js
Line 201 in 68e0733
QGIS Server does not have that restriction. I'm able to apply a
FILTER
parameter to a request for a single layer.The text was updated successfully, but these errors were encountered: