Feature request #14120

Implement Better Filtering for WFS layers

Added by Jeremy Palmer almost 2 years ago. Updated 6 months ago.

Status:Open
Priority:Normal
Assignee:-
Category:Web Services clients/WFS
Pull Request or Patch supplied:No Resolution:
Easy fix?:No

Description

It would be good to completely re-implement the current WFS client filtering logic to something similar to what the OGR WFS driver does. Currently WFS filters are created using the QGIS expression builder, which then transforms the filter to OGC XML during the layer setup. This current approach which has a couple of issues:

  • translating the expression to OGC XML often fails as many QGIS expression functions can not be translated to OGC equivalents. This is not clear to the user
  • once the layer is created you can't go back and change the filter.

IMHO it would be easier to set a provider filter using query builder using SQL and then transform that SQL to OGC XML, much like what GDAL/OGR does - see http://www.gdal.org/drv_wfs.html. This would also be a better option if a WFS 2.0 client was implemented in the case of join syntax.

History

#1 Updated by Giovanni Manghi 6 months ago

  • Easy fix? set to No

Also available in: Atom PDF