[Qgis-developer] QgsFeatureRerquest filters are mutually exclusive? why?
wonder.sk at gmail.com
Sun Dec 21 05:41:06 PST 2014
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....
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Qgis-developer