Bug report #12253
WMTS When Zoomed Out Crashes QGIS
|Category:||Web Services clients/WMS|
|Affected QGIS version:||2.8.0||Regression?:||No|
|Operating System:||Easy fix?:||No|
|Pull Request or Patch supplied:||No||Resolution:||fixed/implemented|
|Crashes QGIS or corrupts data:||Yes||Copied to github as #:||20438|
If you add a wmts layer that has a minimum zoom level (aka max scale aka the most zoomed out you can be) and you add it while the map is zoomed out beyond that level QGIS will try to download all the tiles it can at that max zoom level that it needs to show at the current zoom which can be a prodigious amount of tiles causing QGIS to crash. Example:
Tile set that goes from zoom 11 to zoom 19, open qgis and try to add the tileset, qgis will try to load gigabytes of data before crashing.
#2 Updated by Calvin Metcalf over 6 years ago
after some more testing, qgis does not respect the WGS84BoundingBox or TileMatrixLimits limit of a layer and will gleefully request huge amounts of tiles way outside these bounding box unless the optional BoundingBox parameter is set (with the appropriate srs) in which case it will respect that.
#3 Updated by Giovanni Manghi over 6 years ago
- Category set to Web Services clients/WMS
- Status changed from Open to Feedback
Calvin Metcalf wrote:
Note that this is not the case in version 2.0.1 as the default behavior would be to zoom to the minimum zoom
edit: 2.0.1 zoomed based on the provided bounding box
this means that at least qgis 2.0.1 was behaving the right way?