<div dir="ltr">As Marco explained in the realted post on qgis-dev the bbox filter should be used if "cahce features" option is turned off, but at the moment it seems broken, maybe because of new improvements in the rendering process. The issue has been already reported in <a href="http://hub.qgis.org/issues/11968">http://hub.qgis.org/issues/11968</a><div><br></div><div>In the meanwhile a manual filter could be set within the WFS add layer dialog.</div><div><br></div><div>giovanni</div></div><div class="gmail_extra"><br><div class="gmail_quote">2015-03-26 16:07 GMT+01:00 G. Allegri <span dir="ltr"><<a href="mailto:giohappy@gmail.com" target="_blank">giohappy@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">It's an intereseting question Peter. <div>I've verified that the wfs provider still requests the whole data the first time, then it stores eveything (and create a spatial index for subsequent calls).</div><div>I suppose that sponsoring this feature could be the right way to have it, but I'm curious to know what the latest answer from Marco was referring to (I mean within the svn code he indicates) [1]</div><div><br></div><div>Giovanni</div><div><br></div><div>[1] <a href="http://hub.qgis.org/issues/1421#note-4" target="_blank">http://hub.qgis.org/issues/1421#note-4</a></div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">2015-03-25 12:25 GMT+01:00 Peter Borissow <span dir="ltr"><<a href="mailto:peter.borissow@yahoo.com" target="_blank">peter.borissow@yahoo.com</a>></span>:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div><div style="color:#000;background-color:#fff;font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;font-size:13px"><div dir="ltr">Sorry for being impatient but I was wondering if anyone can shed some light on this issue.</div><div><br></div><div dir="ltr">I have a WFS that's serving out over a billion features (several million records per layer). When I add a layer from the WFS into QGIS, it calls DescribeFeature and then GetFeature without a BBOX filter. QGIS then waits for ALL of the data to come back (which can take a while). </div><div dir="ltr"><br></div><div dir="ltr">In the past, there was an option only fetch features that intersect the current map extent. Without this option, it is extremely difficult to do anything with the WFS using QGIS. <br></div><div dir="ltr"><br></div>IMHO, this is a pretty significant bug but hopefully one that should be really easy to fix. Afterall, the code was there at some point...<br><div><br></div><div><br></div><div>Related (unanswered) questions on stack exchange:<br></div><div><br></div><div dir="ltr"><a href="http://gis.stackexchange.com/questions/53387/quantumgis-1-8-how-to-define-bounding-box-within-add-wfs-layer-dialog" target="_blank">http://gis.stackexchange.com/questions/53387/quantumgis-1-8-how-to-define-bounding-box-within-add-wfs-layer-dialog</a><br></div><div dir="ltr"><a href="http://gis.stackexchange.com/questions/59656/is-there-free-desktop-wfs-client-with-bbox-support" target="_blank">http://gis.stackexchange.com/questions/59656/is-there-free-desktop-wfs-client-with-bbox-support</a><br></div><div><span></span></div><div><br></div><div>Thanks,</div><div dir="ltr">Peter<br></div><div><div dir="ltr"><br></div><div><br></div><div><br> </div></div><div style="font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;font-size:13px"><div> </div><div style="font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;font-size:16px"><div> <div dir="ltr"> <hr size="1"> <font face="Arial"> <b><span style="font-weight:bold">From:</span></b> Peter Borissow <<a href="mailto:peter.borissow@yahoo.com" target="_blank">peter.borissow@yahoo.com</a>><br> <b><span style="font-weight:bold">To:</span></b> "<a href="mailto:qgis-user@lists.osgeo.org" target="_blank">qgis-user@lists.osgeo.org</a>" <<a href="mailto:qgis-user@lists.osgeo.org" target="_blank">qgis-user@lists.osgeo.org</a>> <br> <b><span style="font-weight:bold">Sent:</span></b> Monday, March 23, 2015 2:03 PM<br> <b><span style="font-weight:bold">Subject:</span></b> BBox Filter for WFS<br> </font> </div></div><div><div> <div><br><div><div><div style="color:#000;background-color:#fff;font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;font-size:13px"><div>Hello-</div><div dir="ltr"> I noticed that the WFS client in QGIS 2.8 and 2.6 do not seem to pass a bbox filter when requesting features. <br></div><div dir="ltr"><br></div><div dir="ltr">It seems that in the past, QGIS had an option to only fetch features that intersect the current map extent:<br></div><div dir="ltr"><br></div><div dir="ltr"><a rel="nofollow" href="http://hub.qgis.org/issues/1421" target="_blank">http://hub.qgis.org/issues/1421</a><br></div><div><br></div><div dir="ltr">Based on this thread, it looks like this feature was disabled in 1.8:</div><div dir="ltr"><br></div><div dir="ltr"><a rel="nofollow" href="http://osdir.com/ml/qgis-user-gis/2011-10/msg00308.html" target="_blank">http://osdir.com/ml/qgis-user-gis/2011-10/msg00308.html</a><br></div><div><br></div><div dir="ltr">Is this feature still missing or is there a way to enable this feature in the latest release?</div><div dir="ltr"><br></div><div dir="ltr"><br></div><div dir="ltr">Thanks,</div><div dir="ltr">Peter<br></div><div dir="ltr"><br></div><div><br></div></div></div></div><br><br></div> </div></div></div> </div> </div></div><br></div></div>_______________________________________________<br>
Qgis-user mailing list<br>
<a href="mailto:Qgis-user@lists.osgeo.org" target="_blank">Qgis-user@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/qgis-user" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-user</a><span class="HOEnZb"><font color="#888888"><br></font></span></blockquote></div><span class="HOEnZb"><font color="#888888"><br><br clear="all"><div><br></div>-- <br><div><div dir="ltr"><div><div dir="ltr">Giovanni Allegri<br><a href="http://about.me/giovanniallegri" target="_blank">http://about.me/giovanniallegri</a></div><div dir="ltr">Gis3W - <a href="http://gis3w.it" target="_blank">http://gis3w.it</a></div><div dir="ltr">Ikare - <a href="http://ikare.it" target="_blank">http://ikare.it</a><br><div>Twitter: <a href="https://twitter.com/_giohappy_" target="_blank">https://twitter.com/_giohappy_</a></div><div>blog: <a href="http://blog.spaziogis.it" target="_blank">http://blog.spaziogis.it</a><br>GEO+ geomatica in Italia <a href="http://bit.ly/GEOplus" target="_blank">http://bit.ly/GEOplus</a></div></div></div></div></div>
</font></span></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr">Giovanni Allegri<br><a href="http://about.me/giovanniallegri" target="_blank">http://about.me/giovanniallegri</a></div><div dir="ltr">Gis3W - <a href="http://gis3w.it" target="_blank">http://gis3w.it</a></div><div dir="ltr">Ikare - <a href="http://ikare.it" target="_blank">http://ikare.it</a><br><div>Twitter: <a href="https://twitter.com/_giohappy_" target="_blank">https://twitter.com/_giohappy_</a></div><div>blog: <a href="http://blog.spaziogis.it" target="_blank">http://blog.spaziogis.it</a><br>GEO+ geomatica in Italia <a href="http://bit.ly/GEOplus" target="_blank">http://bit.ly/GEOplus</a></div></div></div></div></div>
</div>