[QGIS-Developer] Method selectedFeatures() works too slow in QGIS 3 Python console

Geo_Nik v.nikulishyn at gmail.com
Mon Nov 4 06:43:48 PST 2019


Thanks a lot. I haven't got access to the database logs.  But method works
correct in QGIS 2. I found some differences between  pyqgis2 API:
https://qgis.org/api/2.18/qgsvectorlayer_8cpp_source.html  (QGIS2 :line
2732)

and  pyqgis3 API:

https://qgis.org/api/2.18/qgsvectorlayer_8cpp_source.html  (QGIS2 :line
2732)

And one more interesting fact: Working time increase proportionally to the
number of user-selected features (Working_time ≈ n*5 min, where n - number
of user-selected features). 

And I still did not find solution this problem. If someone have some idea
please share with me. 



--
Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-Developer-f4099106.html


More information about the QGIS-Developer mailing list