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

Richard Duivenvoorde rdmailings at duif.net
Fri Mar 5 06:40:56 PST 2021


On 2/26/21 10:35 AM, Richard Duivenvoorde wrote:
> As said, I haven't checked WMTS precisely (I did for WMS) but try:
> https://geodata.nationaalgeoregister.nl/wmts?VERSION=1.0.0&request=GetCapabilities
> and open the layer 'opentopo'.
> 
> For my mapcanvas of 1000x1000 pixels (theoretically 4x4=16 tiles of 256x256pixels, but say 6x6=36). 
> If I zoom in I fire a >176 requests.
> I would be Ok to have no prefetching at all for services, just to save the earth a little :-)
> 
> I agree that 'polluting' the interface with options is a good argument. An option then would be to make it a hidden/advanced setting, which I can disable (or others have to enable... how user/environmental friendly do we want to be).

I decided that it was not wise to defaulting to requesting that much tiles, not even for WMTS, and created an Pull Request for it:

https://github.com/qgis/QGIS/pull/41953

I hope I do not offend people with this.
Alternative would be that we keep the prefetching defaulting to true, and make it possible to set it to false.

Regards,

Richard Duivenvoorde




More information about the QGIS-Developer mailing list