Open Joonalai opened 5 months ago
Some performance improvements in https://github.com/qgis/QGIS/pull/56066, but nothing spectacular. The main issue is that we do a double parsing of the /items request response, once with OGR to extract the features, and another one in QGIS itself to customize "id" processing and extracting "links", but that's nothing easy to improve.
That's a shame. I tested with your improvements and unfortunately it didn't make much of a difference with my test data.
I tested with your improvements and unfortunately it didn't make much of a difference with my test data.
do you use a debug or a release bug ?
I used debug, I'll check also with release containing optimizations tomorrow.
With release binary the freezing time was about 18 seconds. The layer appeared in TOC rather quickly, but after that the freezing continued.
What is the bug or the crash?
When adding layer with lot of vertices from OAPIF provider, QGIS freezes for multiple seconds. If the same layer is added as a GeoJSON layer by downloading the same data from items endpoint, QGIS performs just fine.
Steps to reproduce the issue
To reproduce the bug here is test_data.zip containing docker-compose.yml, pygeoapi configuration file and sample data as GeoJSON.
Versions
Supported QGIS version
New profile
Additional context
No response