Feature request #3728
WFS with Filter Encoding
|Assigned to:||Marco Hugentobler||% Done:||
|Target version:||Future Release - Nice to have|
|Platform version:||Pull Request or Patch supplied:||No|
Many WFS Server support some Filter Encoding options.
From a client implementation point of view its only adding a KVP parameter (&Filter=value) in the Get Feature request, where a value is a valid Filter Encoding XML ("<Filter>...</Filter>").
From a GUI perspective, this value could be entered by the user in the modal dialog "Add WFS Layer..." and then stored along the WFS data source parameters.
Updated by Giovanni Manghi over 5 years ago
- Target version changed from Version 1.7.0 to Version 1.7.4
Updated by Giovanni Manghi almost 5 years ago
- Target version changed from Version 1.7.4 to Version 2.0.0
Updated by Pirmin Kalberer over 4 years ago
- Target version changed from Version 2.0.0 to Future Release - Nice to have
Updated by Médéric RIBREUX over 1 year ago
- Category changed from WMS Client to WFS Client
- Status changed from Open to Closed
- % Done changed from 0 to 100
- Resolution set to fixed/implemented
- Pull Request or Patch supplied set to No
Hello, bug triage...
WFS filters are enabled in QGIS 2.13 master WFS client. There is a Query Builder button to open an expression builder to build the filter. The filter is really applied on the server level and not on QGIS side because it is described into the WFS query as you can see in the layer source string:
http://ws.carmencarto.fr/WFS/119/fxx_inpn?SERVICE=WFS&VERSION=1.0.0&REQUEST=GetFeature&TYPENAME=Znieff2&SRSNAME=EPSG:2154&FILTER=<ogc:Filter xmlns:ogc="http://www.opengis.net/ogc"> <ogc:PropertyIsGreaterThan> <ogc:PropertyName>ID_MNHN</ogc:PropertyName> <ogc:Literal>230031027</ogc:Literal> </ogc:PropertyIsGreaterThan> </ogc:Filter>
The query builder can't show the attributes values from the server so you have to know your filter before. But once written, the layer is filtered on the server side.
So, I am closing this bug.
Also available in: Atom