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

Régis Haubourg regis.haubourg at gmail.com
Mon Sep 23 23:29:44 PDT 2019


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> a
écrit :

> On Tue, 24 Sep 2019 at 00:41, <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
> > 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
> 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/eaae6c5f/attachment.html>


More information about the QGIS-Developer mailing list