[Qgis-user] QGIS2.8 How are the features ordered when using layer.selectedFeatures()
Nyall Dawson
nyall.dawson at gmail.com
Mon Jun 3 20:57:57 PDT 2019
On Tue, 4 Jun 2019 at 13:38, Zhang Qun <zhangq.rhy at gmail.com> wrote:
>
> Hi,
> Does anyone know how the features are ordered when you extract by selectedFeatures()? Is it in the same order as the input delimited text file? I'm asking because sometimes I found the looping does not give me the same order as in my data source.
It's an unordered set - i.e. effectively random.
Nyall
More information about the Qgis-user
mailing list