[Qgis-developer] QgsFeatureRerquest filters are mutually exclusive? why?

Luigi Pirelli luipir at gmail.com
Sun Dec 21 11:20:19 PST 2014

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:
>> 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

More information about the Qgis-developer mailing list