[Qgis-user] QGIS2.8 How are the features ordered when using	layer.selectedFeatures()
    Zhang Qun 
    zhangq.rhy at gmail.com
       
    Tue Jun  4 04:37:49 PDT 2019
    
    
  
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.
selected_features = layer.selectedFeatures()
for f in selected_features:
Thanks.
Ethan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20190604/779ff05a/attachment.html>
    
    
More information about the Qgis-user
mailing list