Feature request #19150
Automatically Use max image dimensions from WMS Capabilities
|Category:||Web Services clients/WMS|
|Pull Request or Patch supplied:||No||Resolution:|
|Easy fix?:||No||Copied to github as #:||26980|
Some WMS servers have a limit on the maximum image size they serve.
These sizes are (optionally) announced in the capabilities document, tags MaxWidth and MaxHeight, see the OGC xsd at http://schemas.opengis.net/wms/1.3.0/capabilities_1_3_0.xsd .
When sizes are not explicitly set by the user to a supported value errors in plotting and printing occur, see #3768 .
QGIS should use the MaxHeight and MaxWidth capabilities values (if present) as the default for the "tile size" option in the "Add WMS layer" dialog, and possibly also warn on entering sizes that are too large.