[Qgis-developer] QgsFeatureRerquest filters are mutually exclusive? why?
matthias.kuhn at gmx.ch
Sun Dec 21 23:43:58 PST 2014
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).
On 21.12.2014 20:20, Luigi Pirelli wrote:
> thanks, Martin
> regards, Luigi Pirelli
> On 21 December 2014 at 14:41, Martin Dobias <wonder.sk at gmail.com> wrote:
>> Hi Luigi
>> On Sat, Dec 20, 2014 at 5:57 PM, Luigi Pirelli <luipir at gmail.com> wrote:
>>> 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....
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
More information about the Qgis-developer