[Qgis-user] reduce number of open files in pyqgis script
Martin Landa
landa.martin at gmail.com
Fri Jan 2 10:55:25 PST 2026
Dear Ludwig,
ne 28. 12. 2025 v 18:06 odesílatel Ludwig Kniprath <ludwig at kni-online.de>
napsal:
> I just fiddled with QgsProviderRegistry and noticed, that "querySublayers"
> returns a bunch of GPKG-internal-views and -indices, that are processed in
> your script, although not containing any clippable vector data.
>
Thanks for your feedback! Generally speaking, you are right. But this is
not my case. GDAL reports 172 layers, the same amount is processed by a
sample script. Just to explain, I created this sample script from a complex
solution to report my problem - increasing number of open files.
Martin
--
Martin Landa
https://geomatics.fsv.cvut.cz/en/employees/martin-landa/
https://gismentors.cz/mentors/landa
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20260102/a8017edf/attachment.htm>
More information about the QGIS-User
mailing list