<div dir="auto">Thanks for your feedback. <div dir="auto">Bye!</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Le mar. 24 sept. 2019 à 18:09,  <<a href="mailto:Bauer.Josef@swm.de">Bauer.Josef@swm.de</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">





<div lang="DE" link="blue" vlink="purple">
<div class="m_7549244067384686150WordSection1">
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt;font-family:"Arial",sans-serif;color:#1f497d">Hello Nyall, hello Régis,<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt;font-family:"Arial",sans-serif;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt;font-family:"Arial",sans-serif;color:#1f497d">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.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt;font-family:"Arial",sans-serif;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Arial",sans-serif;color:#1f497d">Kind regards,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Arial",sans-serif;color:#1f497d">Josef<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt;font-family:"Arial",sans-serif;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">Von:</span></b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"> Régis Haubourg <<a href="mailto:regis.haubourg@gmail.com" target="_blank" rel="noreferrer">regis.haubourg@gmail.com</a>>
<br>
<b>Gesendet:</b> Dienstag, 24. September 2019 08:30<br>
<b>An:</b> Nyall Dawson <<a href="mailto:nyall.dawson@gmail.com" target="_blank" rel="noreferrer">nyall.dawson@gmail.com</a>><br>
<b>Cc:</b> Bauer.Josef extern IT-DS-TS <<a href="mailto:Bauer.Josef@swm.de" target="_blank" rel="noreferrer">Bauer.Josef@swm.de</a>>; QGIS Developers List <<a href="mailto:qgis-developer@lists.osgeo.org" target="_blank" rel="noreferrer">qgis-developer@lists.osgeo.org</a>><br>
<b>Betreff:</b> Re: [QGIS-Developer] Performance issues while loading a big QGIS project<u></u><u></u></span></p>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal">Agreed, this should speed up the loading time of layers without metadata (probably postgresql views mainly in your case)<u></u><u></u></p>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">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. <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">I also experienced that lowering the network timeout can speed up ogc webservice layers when the service is not responding. <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">Regards<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">Régis<u></u><u></u></p>
</div>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<div>
<p class="MsoNormal">Le mar. 24 sept. 2019 à 00:49, Nyall Dawson <<a href="mailto:nyall.dawson@gmail.com" target="_blank" rel="noreferrer">nyall.dawson@gmail.com</a>> a écrit :<u></u><u></u></p>
</div>
<blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm">
<p class="MsoNormal">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" target="_blank" rel="noreferrer">
https://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
> Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" target="_blank" rel="noreferrer">
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" target="_blank" rel="noreferrer">
https://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" target="_blank" rel="noreferrer">
https://lists.osgeo.org/mailman/listinfo/qgis-developer</a><u></u><u></u></p>
</blockquote>
</div>
</div>
</div>

</blockquote></div>