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

Luigi Pirelli luipir at gmail.com
Sat Dec 20 02:57:32 PST 2014


I realised that some filter in QgsFeatureRequest are mutually exclusive

the following gist on alaska.shp (in alaska crs)

return 283 Elements

but uncomment spatial filter request.setFilterRect( rect ) return only
10 records

seems that the mutual exclusivity is coded here

and mFilter in QgsFeatureRequest is NOT managed in OR during setting
in http://qgis.org/api/qgsfeaturerequest_8cpp_source.html

it's a bug or a feature or not implemented or my fault in using filtering?

regards, Luigi Pirelli

More information about the Qgis-developer mailing list