[QGIS-Developer] QGIS projecting loading and WFS layer validation

Previous Topic Next Topic
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

[QGIS-Developer] QGIS projecting loading and WFS layer validation

Paul Wittle-3



I’ve noticed that if you put a smaller timeout under the Network settings then I often find that I get invalid layer errors for WFS layers. This is odd because the timeout was set at 5 seconds and I’m pretty sure the load process was not waiting 5 seconds per WFS layer (it was too quick for that). I set the value at 10 seconds and there is no noticeable difference in load up time but the WFS layer load without an issue.


Could there be a bug in the code causing this behaviour and is there any connection pooling for WFS layers or does it GetCapabilities each layer individually?


I would also be interested to know it is possible to force the application to only validate layers which are switched on when loading a project?


This is because a number of our users have suggested QGIS is slower loading than it’s commercial rivals. I’m pretty sure some of these faster because they may be skipping validation checks on layers that are switched off as default. This makes sense to me as presumably the application has to validate layer when you toggle them on/off anyway as layers may become invalid after the project is loaded anyway.


QGIS seems to check every layer so if a project has 50+ layers the load time can be a tad slows (minutes) but if you assume that only 10 or so layers would actually be set to visible then the load up time would be significantly faster if we could skip the 40+ that are not needed on initial load.


I might be interested in knowing more about this topic as we may have an interest in helping to develop changes if there are any that make sense to make.


Best Regards,


This e-mail and any files transmitted with it are intended solely for the use of the individual or entity to whom they are addressed. It may contain unclassified but sensitive or protectively marked material and should be handled accordingly. Unless you are the named addressee (or authorised to receive it for the addressee) you may not copy or use it, or disclose it to anyone else. If you have received this transmission in error please notify the sender immediately. All traffic may be subject to recording and/or monitoring in accordance with relevant legislation. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Dorset Council. Dorset Council does not accept service of documents by fax or other electronic means. Virus checking: Whilst all reasonable steps have been taken to ensure that this electronic communication and its attachments whether encoded, encrypted or otherwise supplied are free from computer viruses, Dorset Council accepts no liability in respect of any loss, cost, damage or expense suffered as a result of accessing this message or any of its attachments. For information on how Dorset Council processes your information, please see www.dorsetcouncil.gov.uk/416433
QGIS-Developer mailing list
[hidden email]
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer