What is the bug or the crash?
Trying to load a WCS Layer with the extent options "Map Canvas Extents" or "Draw on Canvas" fails. The GetCoverage request uses a wrong bounding box. Two requests are sent, the first one uses the correct bbox. The second request is send with the bonding box set to the max values of a double (1.7976931348623158e+308), by that causing the request to fail.
In addition the size of the pictures requested is 10 by 10 for the first one and 6 by 3 for the second.
WCS_Request_log.json
Steps to reproduce the issue
- Open Data Source Manager.
- Connect to a WCS. (I used https://owsproxy.lgl-bw.de/owsproxy/wcs/WCS_INSP_BW_Orthofoto_DOP20)
- Select a Coverage.
- Make sure Option for extends is set and use option Map Canvas Extends or Draw on Canvas.
- Add the Layer.
Versions
| QGIS version | 3.42.2-Münster |
| QGIS code revision | 402273f8c2 |
| |
| Libraries |
| Qt version | 5.15.13 |
| Python version | 3.12.10 |
| GDAL version | 3.10.3 |
| PROJ version | 9.6.0 |
| EPSG Registry database version | v12.004 (2025-03-02) |
| GEOS version | 3.13.1-CAPI-1.19.2 |
| SQLite version | 3.46.1 |
| PDAL version | 2.8.3 |
| PostgreSQL client version | 17.3 |
| SpatiaLite version | 5.1.0 |
| QWT version | 6.3.0 |
| QScintilla2 version | 2.14.1 |
| OS version | Windows 11 Version 2009 |
| |
| Active Python plugins |
| db_manager | 0.1.20 |
| grassprovider | 2.12.99 |
| MetaSearch | 0.3.6 |
| processing | 2.12.99 |
Supported QGIS version
New profile
Additional context
No response
What is the bug or the crash?
Trying to load a WCS Layer with the extent options "Map Canvas Extents" or "Draw on Canvas" fails. The GetCoverage request uses a wrong bounding box. Two requests are sent, the first one uses the correct bbox. The second request is send with the bonding box set to the max values of a double (1.7976931348623158e+308), by that causing the request to fail.
In addition the size of the pictures requested is 10 by 10 for the first one and 6 by 3 for the second.
WCS_Request_log.json
Steps to reproduce the issue
Versions
Supported QGIS version
New profile
Additional context
No response