[QGIS-Developer] QGIS WMS provider firing too many requests !?

Richard Duivenvoorde rdmailings at duif.net
Sat Feb 13 07:29:39 PST 2021


Hi,

As a vivid WMS user/debugger, I see that QGIS is firing 9 requests per 'view-extent' currently.

I'm aware of cache etc etc... but... especially when using temporal filters for example, do others agree with me that this is more or less useless?
I'm also aware that a lot of WMS are actually just WMS interfaces in front of a cached WMTS, but still.

- some (governmental) services nowadays are still free for fair use, but: firing 9 times the actual requests costs resources/energy/maybe money
- before the WMTS I ran WMS services sometimes with pretty heavy styling, so on higher zoomlevels you do NOT want your clients to fire 9 requests, and just effectively use 1 ...

So in short: should I try to add some kind of (hidden?) option to minimize the number of requests?

To test a wms of all municipalities of NL:

https://geodata.nationaalgeoregister.nl/bestuurlijkegrenzen/ows?SERVICE=WMS
(layer 'gemeenten', EPSG:28992)
And look in F12/debugging window the number of GetMap requests fired when zoomed in...

I copied/created polgyons of the requests, and (see screenie) indeed looking at the center 'tile', the 8 surrounding requests are also fired....

Currently looking into this.

Regards,

Richard Duivenvoorde


 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screenshot-20210213162752-288x155.png
Type: image/png
Size: 20325 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20210213/cc7e5170/attachment-0001.png>


More information about the QGIS-Developer mailing list