Hi,
CCing to qgis-dev as nobody in community seems... inspired by the question
and I'd like to close that old PR and rebase other changes.

Thanks for any hint.

Harrissou

Le mar. 11 sept. 2018 à 18:12, DelazJ <[email protected]> a écrit :

> Hi all,
>
> QGIS documentation states [0] that Processing can be used to iterate over
> features with the following code:
>
> import processingfeatures = processing.features(layer)for feature in features:
>     # do whatever you need with the feature
>
> This code no longer works in QGIS3 and needs an update [1] I fail to find.
> So anyone to suggest the right replacement, please?
>
>
> [0] 
> https://docs.qgis.org/testing/en/docs/pyqgis_developer_cookbook/vector.html#iterating-over-selected-features
> [1] https://github.com/qgis/QGIS-Documentation/pull/2871
>
> Thanks,
>
> Harrissou
>
>
_______________________________________________
Qgis-community-team mailing list for organizing community resources such as 
documentation, translation etc..
[email protected]
https://lists.osgeo.org/mailman/listinfo/qgis-community-team

Reply via email to