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 <[email protected]>
Gesendet: Dienstag, 24. September 2019 08:30
An: Nyall Dawson <[email protected]>
Cc: Bauer.Josef extern IT-DS-TS <[email protected]>; QGIS Developers List 
<[email protected]>
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 
<[email protected]<mailto:[email protected]>> a écrit :
On Tue, 24 Sep 2019 at 00:41, <[email protected]<mailto:[email protected]>> 
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
> [email protected]<mailto:[email protected]>
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
_______________________________________________
QGIS-Developer mailing list
[email protected]<mailto:[email protected]>
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
_______________________________________________
QGIS-Developer mailing list
[email protected]
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to