-
-
Notifications
You must be signed in to change notification settings - Fork 146
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
Permalink with filter #2552
Comments
I did not try but it seems like an enhancement :) |
@nboisteault from my test it seems a security problem https://docs.qgis.org/3.16/en/docs/server_manual/services.html#filter When I add a filter filter=v_grafo_incongruenze:UT:id+IN(+12+) this i sthe error:
|
Did you respect |
Adding spaces |
Sorry The permalink from filter can be a nice enhancement but just now user can create a script to have the correct URL request |
I've tried to implement this nice feature, but I don't get it to work. See also my post on gis.stackexchange.com. Features are not filtered on the map, but only in the data menu. The url we are using is: https://ourserver.com/lizmap/index.php/view/map/?repository=xfn&project=xfn_lizmap&filter=v_parcels%3A%22id%22%20IN%20(%2054%20,%2055%20,%2056%20,%2053%20,%2052%20,%20516%20), so that the filter part looks like Are there any other prerequisites that I miss to get it to work? |
Meanwhile I'm working with Lizmap version 3.5.3. When I look at the lizmap log-file I get the following error: Any idea how to get this to work or where to find documentation about this topic? |
Is this covered by #3074 @nboisteault and others ? |
@geomoes @rmarzocchi84 Could you test #3074 and give us feedback please? |
|
This issue is missing some feedbacks. 👻 |
This issue is missing some feedbacks. 👻 |
Hi, Could You please provide the right syntax that is needed? |
@geomoes did you somehow figure it out? Or is there any news about that? |
Did you look at the documentation : https://docs.lizmap.com/current/en/publish/configuration/permalink.html#zoom-on-an-object-when-opening-the-map ? |
Ahh, after some fiddeling around i got it working. Note:
Only thing which behaves "strange" is when having Should i open a new enhancement proposal for this? Many thanks for pointing me to the right place in the documentation! |
What is the value of https://docs.lizmap.com/current/en/publish/configuration/project.html#wms Can you see it in your HTTP request ? |
The box is checked - if i just click on any feature of the layer, the geometry is properly highlighted in the map. When clicking on a feature, two requests are sent: One for WFS and one for WMS: I can find more or less the same request when accessing LWC through a created permalink: I'm not sure though, if those requests are the ones for the pop-up or the feature-highlighting..? Addendum: switching in the URL to |
I mean, is there the geometry returned in these requests ? (response tab) |
II try to add a permalink filtering a layer, but the function it is not supported using filter and permalink.
I try adding the filter properties in the WMS request
but it seems to do not work (the layer disappear from map!!)
Any idea? It can be a nice option for users..
The text was updated successfully, but these errors were encountered: