https://issues.qgis.org/https://issues.qgis.org/favicon.ico2009-12-23T06:22:11ZQGIS Issue TrackingQGIS Application - Bug report #2297: XML parsing slows down WFS and GML loadinghttps://issues.qgis.org/issues/2297?journal_id=210052009-12-23T06:22:11ZMarco Hugentoblermarco.hugentobler@sourcepole.ch
<ul></ul><p>Is there a test server instance / test file?<br />The WFS provider uses a different approach than the GML reader of OGR. So probably they are slow for different reasons. <br />And yes, reading XML is more demanding performance wise than reading the same information in a binary format.</p> QGIS Application - Bug report #2297: XML parsing slows down WFS and GML loadinghttps://issues.qgis.org/issues/2297?journal_id=210062009-12-24T03:09:57ZPaolo Cavallinicavallini@faunalia.it
<ul></ul><p>This should be a good and fast server, rather slow to download:</p>
<p><a class="external" href="http://webgis.regione.sardegna.it/geoserver/wfs">http://webgis.regione.sardegna.it/geoserver/wfs</a>?</p> QGIS Application - Bug report #2297: XML parsing slows down WFS and GML loadinghttps://issues.qgis.org/issues/2297?journal_id=210072009-12-24T03:13:27ZPaolo Cavallinicavallini@faunalia.it
<ul></ul><p>While loading, the bottleneck seems CPU, that goes up (98-99%)</p> QGIS Application - Bug report #2297: XML parsing slows down WFS and GML loadinghttps://issues.qgis.org/issues/2297?journal_id=210082009-12-24T13:19:51ZMarco Hugentoblermarco.hugentobler@sourcepole.ch
<ul></ul><p>I tested it with the layer ras:IDT_MN11V_DATI_AGGR_PROV. (22MB) with wget and the WFS plugin. I didn't measure the time exactly, but it seemed comparable to me, appr. 60 - 70 seconds.</p>
<p>The reason the CPU works while loading is that the WFS provider does asynchronous request and starts parsing before the whole document has arrived.</p> QGIS Application - Bug report #2297: XML parsing slows down WFS and GML loadinghttps://issues.qgis.org/issues/2297?journal_id=210092009-12-27T01:05:12ZPaolo Cavallinicavallini@faunalia.it
<ul><li><strong>Resolution</strong> set to <i>invalid</i></li><li><strong>Status</strong> changed from <i>Open</i> to <i>Closed</i></li></ul><p>So better close it - still unsure about GML though, but this will require more testing, especially on Windows.</p>