Bug report #21048

Requests made for features when outside of bbox

Added by Jonathan Moules about 5 years ago. Updated about 5 years ago.

Category:Web Services clients/WFS
Affected QGIS version:3.4.3 Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:No Resolution:
Crashes QGIS or corrupts data:No Copied to github as #:28867


For WMS/WMTS, it seems that if you're viewing outside of the declared Bounding Box of the layer, then QGIS doesn't make any requests to the server. This makes sense and is a good optimisation.

But for WFS, even if you're outside of the area, if you pan-around, it still makes requests for the features.

At least, that's what I'm seeing for this (which has the data for both WMS and WFS making a good test):

The WMS requests are all simply not sent when completely outside the bbox, but the WFS requests are.


#1 Updated by Even Rouault about 5 years ago

If I remember well, there are a number of WFS servers where the declared bounding box is incorrect, so that non-optimization can sometimes help

#2 Updated by Jonathan Moules about 5 years ago

Definitely true, but this is also true of WMS/WMTS which do appear to have this optimisation. I wonder if the behaviour should be the same between them?

Also available in: Atom PDF