Hello Etienne,
 
wonderful. 
A lot of great tipps at least to review own code.
I have seen it before and the method .setSubsetOfAttributes has
saved me minutes of calculation times :)
 
pat
 
Gesendet: Freitag, 20. Oktober 2017 um 08:39 Uhr
Von: "Etienne Trimaille" <[email protected]>
An: "Pat Hin" <[email protected]>
Cc: [email protected], "qgis-userlists.osgeo.org" <[email protected]>
Betreff: Re: [Qgis-user] Select QGSFeature with given ID
Have a look at this good blog post from Nyall with QgsFeatureRequest:
 
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

Reply via email to