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

> On Tue, 24 Sep 2019 at 00:41, <[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]
> > 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
_______________________________________________
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