[Qgis-developer] problem with feature request and updateFeature

Denis Rouzaud denis.rouzaud at gmail.com
Fri Mar 22 05:54:30 PDT 2013


Hi all,

I am looping over features of a layer using new API (QgsFeatureRequest).
If I modify a feature and do: layer.updateFeature(f), my loop is broken.
Is this a normal behavior?

What should I do if I want to modify features during the loop?

Thanks

Denis


More information about the Qgis-developer mailing list