[qgis-qwc2] Filter via qwc2 url parameter
Rayner Howard
raynerhoward at yahoo.com
Sat Sep 10 22:07:39 PDT 2022
Hi,
As per the QGIS docs https://docs.qgis.org/3.22/en/docs/server_manual/services/wms.html#filter we can FILTER features via a query in GETMAP:
&FILTER=countries_shapeburst,countries:"name" = 'France';places: "name" = 'Paris'
It would be very useful, especially those of us working with features stored in database tables, if we could make use of a new qwc2 url parameter
f = some filter
see https://github.com/qgis/qwc2-demo-app/blob/master/doc/QWC2_Documentation.md#url-parameters
It could maybe look something like this:
http://myqwc2webmap.somewhere.com/?t=my_theme&l=countries_shapeburst,countries,places&f=countries_shapeburst,countries:"name" = 'France';places: "name" = 'Paris'
Being able to filter in this manner (passing the filter url parameter to the GETMAP request) would be very useful.
Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-qwc2/attachments/20220911/3eabc890/attachment.htm>
More information about the qgis-qwc2
mailing list