Have a look at this good blog post from Nyall with QgsFeatureRequest: http://nyalldawson.net/2016/10/speeding-up-your-pyqgis-scripts/
2017-10-20 8:21 GMT+02:00 Pat Hin <[email protected]>: > Hello > > many thanks. > > the method ".setFilterExpression" has been the one i am looking for :) > > Many thanks :) > > Pat > > *Gesendet:* Donnerstag, 19. Oktober 2017 um 20:39 Uhr > *Von:* "Richard Duivenvoorde" <[email protected]> > *An:* "Pat Hin" <[email protected]>, "Luigi Pirelli" <[email protected]> > *Cc:* "qgis-userlists.osgeo.org" <[email protected]> > *Betreff:* Re: [Qgis-user] Select QGSFeature with given ID > On 19-10-17 18:27, Pat Hin wrote: > > Thank you > > > > i have done it but struggeld. but wil have a second try > > Did you found > > http://docs.qgis.org/testing/en/docs/pyqgis_developer_cookbook/ > > already? > > http://docs.qgis.org/testing/en/docs/pyqgis_developer_ > cookbook/vector.html#iterating-over-a-subset-of-features > > Regards, > > Richard Duivenvoorde > > _______________________________________________ > Qgis-user mailing list > [email protected] > List info: https://lists.osgeo.org/mailman/listinfo/qgis-user > Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user >
_______________________________________________ Qgis-user mailing list [email protected] List info: https://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
