[Qgis-user] QGIS2.8 How are the features ordered when using layer.selectedFeatures()
Zhang Qun
zhangq.rhy at gmail.com
Mon Jun 3 21:01:50 PDT 2019
Thanks Nyall. Then is there anyway i can get the original order? My data is
road lane points and the sequence order represent the driving direction.
On Tue, Jun 4, 2019, 11:58 AM Nyall Dawson <nyall.dawson at gmail.com> wrote:
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20190604/a2313e68/attachment.html>
More information about the Qgis-user
mailing list