Hi Devs,
I used the following in a python plugin to select features:
self.provider.select(self.provider.attributeIndexes(), mapCanvasExtent,
True, True)
is there somewhere an example how to do this in the new api using
QgsFeatureIterator QgsOgrProvider::getFeatures( const QgsFeatureRequest&
request )
and python?
If provided, I could add the info at:
http://documentation.qgis.org/html/en/docs/pyqgis_developer_cookbook/03_vector.html#iterating-over-vector-layer
(or maybe someone can update that pages instead of replying :-) )
Regards,
Richard Duivenvoorde
_______________________________________________
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer