[QGIS-Developer] Performance issues while loading a big QGIS project

Bauer.Josef at swm.de Bauer.Josef at swm.de
Tue Sep 24 09:09:50 PDT 2019


Hello Nyall, hello Régis,

thank you for your hints. The option “Trust project when data source has no metadata” improved the loading time a lot. The project still needs about 6 minutes to load, but at least it is already an improvement. However, I guess, that is normal for such a large project. The plug-in “Layers menu from project” also looks very interesting.

Kind regards,
Josef

Von: Régis Haubourg <regis.haubourg at gmail.com>
Gesendet: Dienstag, 24. September 2019 08:30
An: Nyall Dawson <nyall.dawson at gmail.com>
Cc: Bauer.Josef extern IT-DS-TS <Bauer.Josef at swm.de>; QGIS Developers List <qgis-developer at lists.osgeo.org>
Betreff: Re: [QGIS-Developer] Performance issues while loading a big QGIS project

Agreed, this should speed up the loading time of layers without metadata (probably postgresql views mainly in your case)

If your need is to access some layers only, I recommend the menu_layers_from_project plugin. It will only parse the xml but not load the data until you choose to import some layers into a session.

I also experienced that lowering the network timeout can speed up ogc webservice layers when the service is not responding.
Regards
Régis

Le mar. 24 sept. 2019 à 00:49, Nyall Dawson <nyall.dawson at gmail.com<mailto:nyall.dawson at gmail.com>> a écrit :
On Tue, 24 Sep 2019 at 00:41, <Bauer.Josef at swm.de<mailto:Bauer.Josef at swm.de>> wrote:

>
> Therefore, the question is, if QGIS provides a mechanism to postpone the initial loading of all layers from QGIS startup to the point in time when we actually need the layers? I.e., the layer structure is loaded but not the layer data.

There's no such existing mechanism.

Have you experiment with the setting under project properties -- data
sources -- "Trust project when data source has no metadata"? I believe
that was added to assist with cases like this.

Nyall

>
>
>
> Is there a build-in QGIS mechanism that allows loading only the needed layers from the .qgs file and write the appropriate styles to it or is it planned to implement such a mechanism in QGIS?
>
>
>
> Kind regards,
>
> Josef
>
> _______________________________________________
> QGIS-Developer mailing list
> QGIS-Developer at lists.osgeo.org<mailto:QGIS-Developer at lists.osgeo.org>
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
_______________________________________________
QGIS-Developer mailing list
QGIS-Developer at lists.osgeo.org<mailto:QGIS-Developer at lists.osgeo.org>
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20190924/bbaa0aab/attachment-0001.html>


More information about the QGIS-Developer mailing list