<p dir="ltr">Thanks Marco ;)<br>
I will test it tomorrow.</p>
<div class="gmail_quote">Il 02/apr/2015 18:29 "Peter Borissow" <<a href="mailto:peter.borissow@yahoo.com">peter.borissow@yahoo.com</a>> ha scritto:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div style="color:#000;background-color:#fff;font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;font-size:13px"><div>Wow, this is great news! I can't wait to test it.</div><div><br></div><div dir="ltr">Thanks for your help!<br></div><div dir="ltr">Peter<br></div><div><span></span></div><br> <div style="font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;font-size:13px"> <div style="font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;font-size:16px"> <div dir="ltr"> <hr size="1"> <font face="Arial"> <b><span style="font-weight:bold">From:</span></b> Marco Hugentobler <<a href="mailto:marco.hugentobler@sourcepole.ch">marco.hugentobler@sourcepole.ch</a>><br> <b><span style="font-weight:bold">To:</span></b> <a href="mailto:qgis-user@lists.osgeo.org">qgis-user@lists.osgeo.org</a>; <a href="mailto:peter.borissow@yahoo.com">peter.borissow@yahoo.com</a> <br> <b><span style="font-weight:bold">Sent:</span></b> Thursday, April 2, 2015 11:34 AM<br> <b><span style="font-weight:bold">Subject:</span></b> Re: [Qgis-user] BBox Filter for WFS<br> </font> </div> <div><br><div><div>
<div>Hi all<br clear="none">
<br clear="none">
I've added the checkbox to only load the features intersecting the
current extent
(<a rel="nofollow" shape="rect">https://github.com/qgis/QGIS/commit/e4e4839823fad1b980cb815889c18edb9c4352b7</a>).<br clear="none">
<br clear="none">
Regards,<br clear="none">
Marco<br clear="none">
<br clear="none">
<pre>--
Dr. Marco Hugentobler
Sourcepole - Linux & Open Source Solutions
Weberstrasse 5, CH-8004 Zürich, Switzerland
<a rel="nofollow" shape="rect">marco.hugentobler@sourcepole.ch</a> <a rel="nofollow" shape="rect">http://www.sourcepole.ch</a>
Technical Advisor QGIS Project Steering Committee </pre>
<br clear="none">
<br clear="none">
On 31.03.2015 12:01, Peter Borissow wrote:<br clear="none">
</div>
<blockquote type="cite">
<div><br><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>Thanks Giovanni-</div>
<div dir="ltr"> Do you know when the dev team is planning the
next release? I wonder if there's time to get this fixed
before the next release.</div>
<div dir="ltr"><br clear="none">
</div>
<div dir="ltr">Peter<br clear="none">
</div>
<div><span></span></div>
<br clear="none">
<div style="font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;font-size:13px">
<div style="font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;font-size:16px">
<div dir="ltr">
<hr size="1"> <font face="Arial"> <b><span style="font-weight:bold">From:</span></b> G.
Allegri <a rel="nofollow" shape="rect"><giohappy@gmail.com></a><br clear="none">
<b><span style="font-weight:bold">To:</span></b> Peter
Borissow <a rel="nofollow" shape="rect"><peter.borissow@yahoo.com></a> <br clear="none">
<b><span style="font-weight:bold">Cc:</span></b>
<a rel="nofollow" shape="rect">"tech@wildintellect.com"</a> <a rel="nofollow" shape="rect"><tech@wildintellect.com></a>;
<a rel="nofollow" shape="rect">"qgis-user@lists.osgeo.org"</a>
<a rel="nofollow" shape="rect"><qgis-user@lists.osgeo.org></a> <br clear="none">
<b><span style="font-weight:bold">Sent:</span></b>
Tuesday, March 31, 2015 5:15 AM<br clear="none">
<b><span style="font-weight:bold">Subject:</span></b> Re:
[Qgis-user] BBox Filter for WFS<br clear="none">
</font> </div>
<div><br clear="none">
<div>
<div>
<div dir="ltr">I
totally agree with you... but I'm not the mantainer
of this code :)
<div>I think
that a nre ticket is not necessary. Yuo could add
new suggestions/ideas to the existing one.</div>
<div><br clear="none">
</div>
<div>giovanni</div>
</div>
<div><br clear="none">
<div>2015-03-27 10:04
GMT+01:00 Peter Borissow <span dir="ltr"><<a rel="nofollow" shape="rect">peter.borissow@yahoo.com</a>></span>:<br clear="none">
<div><br clear="none">
<br clear="none">
</div>
<div>
<blockquote style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>
<div style="color:#000;background-color:#fff;font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;font-size:13px">
<div>Thanks
Alex-</div>
<div dir="ltr"> Do you think we should
open a new ticket?</div>
<span></span>
<div dir="ltr"><br clear="none">
</div>
<div dir="ltr">Peter<br clear="none">
</div>
<div><span></span></div>
<div><br clear="none">
</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>
<div dir="ltr">
<div>
<hr size="1"> </div>
<div> <b><span style="font-weight:bold">From:</span></b>
Alex Mandel <<a rel="nofollow" shape="rect">tech_dev@wildintellect.com</a>><br clear="none">
<b><span style="font-weight:bold">To:</span></b>
Peter Borissow <<a rel="nofollow" shape="rect">peter.borissow@yahoo.com</a>>;
G. Allegri <<a rel="nofollow" shape="rect">giohappy@gmail.com</a>>
<br clear="none">
<b><span style="font-weight:bold">Cc:</span></b>
"<a rel="nofollow" shape="rect">qgis-user@lists.osgeo.org</a>"
<<a rel="nofollow" shape="rect">qgis-user@lists.osgeo.org</a>>
<br clear="none">
<b><span style="font-weight:bold">Sent:</span></b>
Thursday, March 26, 2015 5:10 PM</div>
<div>
<div><br clear="none">
<b><span style="font-weight:bold">Subject:</span></b>
Re: [Qgis-user] BBox Filter for
WFS<br clear="none">
</div>
</div>
</div>
<div>
<div>
<div><br clear="none">
That's exactly how I would
expect it to work.<br clear="none">
<br clear="none">
To cache a whole WFS and start
seems overboard, in that case
why<br clear="none">
wouldn't you just download the
data set. BBOX is a must for web
services<br clear="none">
as a main part of the purpose is
to allow users to only grab the
part<br clear="none">
they need when they need it.<br clear="none">
<br clear="none">
Thanks,<br clear="none">
Alex<br clear="none">
<br clear="none">
<div><br clear="none">
<br clear="none">
</div>
<div><br clear="none">
On 03/26/2015 01:28 PM, Peter
Borissow wrote:<br clear="none">
> Thanks Giovanni- It
seems to me that the "cache
features" option and the
option to fetch only the
features intersecting the
current map extent should be 2
separate options. <br clear="none">
> <br clear="none">
> For example, when I open
a WFS layer, I might want to
retrieve only the features
intersecting the current map
extent. Once it is loaded, I
would want QGIS to cache the
features.<br clear="none">
> <br clear="none">
> This is a common
rendering technique used for
WMS. A client requests an
initial BBOX and renders the
image. The when the client
pans, a new request is made
but only for the "missing"
area. The original response is
cached and merged with the
second response. Just a
thought...<br clear="none">
> <br clear="none">
> <br clear="none">
> Peter<br clear="none">
> <br clear="none">
> <br clear="none">
> From: G. Allegri
<<a rel="nofollow" shape="rect">giohappy@gmail.com</a>><br clear="none">
> To: Peter Borissow <<a rel="nofollow" shape="rect">peter.borissow@yahoo.com</a>>
<br clear="none">
> Cc: "<a rel="nofollow" shape="rect">qgis-user@lists.osgeo.org</a>"
<<a rel="nofollow" shape="rect">qgis-user@lists.osgeo.org</a>>
<br clear="none">
> Sent: Thursday, March
26, 2015 1:27 PM<br clear="none">
> Subject: Re: [Qgis-user]
BBox Filter for WFS<br clear="none">
> <br clear="none">
> 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 rel="nofollow" shape="rect">http://hub.qgis.org/issues/11968</a><br clear="none">
> In the meanwhile a manual
filter could be set within the
WFS add layer dialog.<br clear="none">
> giovanni<br clear="none">
> 2015-03-26 16:07
GMT+01:00 G. Allegri <<a rel="nofollow" shape="rect">giohappy@gmail.com</a>>:<br clear="none">
> <br clear="none">
> <br clear="none">
> <br clear="none">
> It's an intereseting
question Peter. 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).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]<br clear="none">
> Giovanni<br clear="none">
> [1] <a rel="nofollow" shape="rect">http://hub.qgis.org/issues/1421#note-4</a><br clear="none">
> 2015-03-25 12:25
GMT+01:00 Peter Borissow <<a rel="nofollow" shape="rect">peter.borissow@yahoo.com</a>>:<br clear="none">
> <br clear="none">
> Sorry for being impatient
but I was wondering if anyone
can shed some light on this
issue.<br clear="none">
> 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).
<br clear="none">
> 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 clear="none">
> <br clear="none">
> 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 clear="none">
> <br clear="none">
> <br clear="none">
> Related (unanswered)
questions on stack exchange:<br clear="none">
> <br clear="none">
> <a rel="nofollow" shape="rect">http://gis.stackexchange.com/questions/53387/quantumgis-1-8-how-to-define-bounding-box-within-add-wfs-layer-dialog</a><br clear="none">
> <a rel="nofollow" shape="rect">http://gis.stackexchange.com/questions/59656/is-there-free-desktop-wfs-client-with-bbox-support</a><br clear="none">
> <br clear="none">
> Thanks,Peter<br clear="none">
> <br clear="none">
> <br clear="none">
> <br clear="none">
> From: Peter Borissow
<<a rel="nofollow" shape="rect">peter.borissow@yahoo.com</a>><br clear="none">
> To: "<a rel="nofollow" shape="rect">qgis-user@lists.osgeo.org</a>"
<<a rel="nofollow" shape="rect">qgis-user@lists.osgeo.org</a>>
<br clear="none">
> Sent: Monday, March 23,
2015 2:03 PM<br clear="none">
> Subject: BBox Filter for
WFS<br clear="none">
> <br clear="none">
> Hello- 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 clear="none">
> <br clear="none">
> It seems that in the
past, QGIS had an option to
only fetch features that
intersect the current map
extent:<br clear="none">
> <br clear="none">
> <a rel="nofollow" shape="rect">http://hub.qgis.org/issues/1421</a><br clear="none">
> <br clear="none">
> Based on this thread, it
looks like this feature was
disabled in 1.8:<br clear="none">
> <a rel="nofollow" shape="rect">http://osdir.com/ml/qgis-user-gis/2011-10/msg00308.html</a><br clear="none">
> <br clear="none">
> Is this feature still
missing or is there a way to
enable this feature in the
latest release?<br clear="none">
> <br clear="none">
> Thanks,Peter<br clear="none">
> <br clear="none">
> <br clear="none">
> <br clear="none">
<br clear="none">
> <br clear="none">
<br clear="none">
</div>
<br clear="none">
<br clear="none">
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
</div>
<br clear="none">
<br clear="all">
<div><br clear="none">
</div>
-- <br clear="none">
<div>
<div dir="ltr">
<div>
<div dir="ltr">Giovanni Allegri<br clear="none">
<a rel="nofollow" shape="rect">http://about.me/giovanniallegri</a></div>
<div dir="ltr">Gis3W - <a rel="nofollow" shape="rect">http://gis3w.it</a></div>
<div dir="ltr">Ikare - <a rel="nofollow" shape="rect">http://ikare.it</a><br clear="none">
<div>Twitter: <a rel="nofollow" shape="rect">https://twitter.com/_giohappy_</a></div>
<div>blog: <a rel="nofollow" shape="rect">http://blog.spaziogis.it</a><br clear="none">
GEO+ geomatica in Italia <a rel="nofollow" shape="rect">http://bit.ly/GEOplus</a></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<br clear="none">
<br clear="none">
</div>
</div>
</div>
</div></div>
<br clear="none">
<fieldset></fieldset>
<br clear="none">
<pre>_______________________________________________
Qgis-user mailing list
<a rel="nofollow" shape="rect">Qgis-user@lists.osgeo.org</a>
<a rel="nofollow" shape="rect">http://lists.osgeo.org/mailman/listinfo/qgis-user</a></pre>
</blockquote>
<br clear="none">
<br clear="none">
</div></div><br><br></div> </div> </div> </div></div><br>_______________________________________________<br>
Qgis-user mailing list<br>
<a href="mailto:Qgis-user@lists.osgeo.org">Qgis-user@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/qgis-user">http://lists.osgeo.org/mailman/listinfo/qgis-user</a><br></blockquote></div>