[Qgis-developer] vectordataprovider.rewind() problem?

Martin Dobias wonder.sk at gmail.com
Tue Nov 25 14:13:02 EST 2008

On Tue, Nov 25, 2008 at 3:49 PM, Carson Farmer <carson.farmer at gmail.com> wrote:
> Is anyone else have trouble with QgsVectorDataProvider.rewind() not actually
> rewinding properly?
> I'm trying to run through one QgsVectorLayer using while
> providerA.nextFeature(feata): blah blah blah
> Then loop through another (in the same function) using
> providerB,nextFeature(featb): blah blah blah... but for some reason it won't
> loop through the second layer at all?

Hi Carson,

could you please provide a very simple snippet? I don't get the idea
how this all is connected and where .rewind() is being called.


More information about the Qgis-developer mailing list