[Qgis-developer] new vector api select features
Richard Duivenvoorde
rdmailings at duif.net
Tue Feb 5 10:27:09 PST 2013
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
More information about the Qgis-developer
mailing list