<div dir="auto">Agreed, this should speed up the loading time of layers without metadata (probably postgresql views mainly in your case)<div dir="auto"><br></div><div dir="auto">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. </div><div dir="auto"><br></div><div dir="auto">I also experienced that lowering the network timeout can speed up ogc webservice layers when the service is not responding. </div><div dir="auto">Regards</div><div dir="auto">Régis</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Le mar. 24 sept. 2019 à 00:49, Nyall Dawson <<a href="mailto:nyall.dawson@gmail.com">nyall.dawson@gmail.com</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Tue, 24 Sep 2019 at 00:41, <<a href="mailto:Bauer.Josef@swm.de" target="_blank" rel="noreferrer">Bauer.Josef@swm.de</a>> wrote:<br>
<br>
><br>
> 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.<br>
<br>
There's no such existing mechanism.<br>
<br>
Have you experiment with the setting under project properties -- data<br>
sources -- "Trust project when data source has no metadata"? I believe<br>
that was added to assist with cases like this.<br>
<br>
Nyall<br>
<br>
><br>
><br>
><br>
> 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?<br>
><br>
><br>
><br>
> Kind regards,<br>
><br>
> Josef<br>
><br>
> _______________________________________________<br>
> QGIS-Developer mailing list<br>
> <a href="mailto:QGIS-Developer@lists.osgeo.org" target="_blank" rel="noreferrer">QGIS-Developer@lists.osgeo.org</a><br>
> List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
> Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
_______________________________________________<br>
QGIS-Developer mailing list<br>
<a href="mailto:QGIS-Developer@lists.osgeo.org" target="_blank" rel="noreferrer">QGIS-Developer@lists.osgeo.org</a><br>
List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a></blockquote></div>