[Qgis-developer] New Vector API

Martin Dobias wonder.sk at gmail.com
Wed Jan 16 15:18:56 PST 2013


On Tue, Jan 8, 2013 at 9:46 AM, Matthias Kuhn <matthias.kuhn at gmx.ch> wrote:
>
> Layers are rendered correctly again.
>
> However, dataProvider.getFeatures() doesn't return any features in my plugin
> ( the same instructions used to work before your last two commits ).

Matthias,
my recent update to feature iterators should fix this and some more issues, see:

https://github.com/qgis/Quantum-GIS/commit/a6c5fd875bc73e4775b825640a7cedcc2f5a8832

The default behavior for providers is now that they close any previous
active iterator. Later I will be adding a new provider capability
where the provider could state that it supports concurrent iterators.

Regards
Martin


More information about the Qgis-developer mailing list