you may already currently filter with the help of a QgsExpression which lets you combine different filters/where-clauses in the desired way. That works for some situations but has some limitations (e.g. filtering cannot be done server-side yet, while setting other filters like rect or fid are often evaluated server-side).
Matthias On 21.12.2014 20:20, Luigi Pirelli wrote: > thanks, Martin > > regards, Luigi Pirelli > > On 21 December 2014 at 14:41, Martin Dobias <[email protected]> wrote: >> Hi Luigi >> >> On Sat, Dec 20, 2014 at 5:57 PM, Luigi Pirelli <[email protected]> wrote: >>> Hi, >>> >>> I realised that some filter in QgsFeatureRequest are mutually exclusive >>> [...] >>> it's a bug or a feature or not implemented or my fault in using filtering? >> >> It is not a bug - and neither a feature. It is simply a limitation from the >> design. Originally feature request supported: 1. no filter, 2. filter by >> rect, 3. filter by fid. Those options were used in mutually exclusive way so >> there was no reason to make the code more complex and allow their >> combinations. Now with more filtering options this would be useful - maybe >> in the future someone will find time and implement support for multiple >> filters at once.... >> >> Cheers >> Martin >> > _______________________________________________ > Qgis-developer mailing list > [email protected] > http://lists.osgeo.org/mailman/listinfo/qgis-developer _______________________________________________ Qgis-developer mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/qgis-developer
