What is the bug or the crash?
Adding a vector tiles connection based on a style including WMS raster sources results in not working layers.
Steps to reproduce the issue
-
Add a vector tiles connection using the following style:
https://sgx.geodatenzentrum.de/gdz_basemapde_vektor/styles/bm_web_top.json
-
Add the content to the Layers widget
-
See error -> 2 raster layers are added which are not working:
"sources": {
"schummerung_col": {
"type": "raster",
"attribution": "© 2025 basemap.de / BKG | Datenquellen: © GeoBasis-DE",
"minzoom": 0,
"maxzoom": 22,
"tiles": ["https://sgx.geodatenzentrum.de/wms_basemapde_schummerung?tiled=true&bbox={bbox-epsg-3857}&service=WMS&version=1.3.0&request=GetMap&layers=de_basemapde_web_raster_colordem&styles=&crs=EPSG:3857&width=256&height=256&format=image/png&transparent=true"],
"tileSize": 256
},
"schummerung_comb": {
"type": "raster",
"attribution": "© 2025 basemap.de / BKG | Datenquellen: © GeoBasis-DE",
"minzoom": 0,
"maxzoom": 22,
"tiles": ["https://sgx.geodatenzentrum.de/wms_basemapde_schummerung?tiled=true&bbox={bbox-epsg-3857}&service=WMS&version=1.3.0&request=GetMap&layers=de_basemapde_web_raster_combshade&styles=&crs=EPSG:3857&width=256&height=256&format=image/png&transparent=true"],
"tileSize": 256
},

Versions
| QGIS version | 3.43.0-Master |
| QGIS code revision | 980f4b7934d |
| |
| Libraries |
| Qt version | 5.15.13 |
| Python version | 3.12.3 |
| GDAL version | 3.8.4 |
| PROJ version | 9.4.0 |
| EPSG Registry database version | v11.004 (2024-02-24) |
| GEOS version | 3.12.1-CAPI-1.18.1 |
| SQLite version | 3.45.1 |
| PostgreSQL client version | 16.8 |
| SpatiaLite version | 5.1.0 |
| QWT version | 6.1.4 |
| QScintilla2 version | 2.14.1 |
| OS version | Ubuntu 24.04.2 LTS |
| |
| Active Python plugins |
| grassprovider | 2.12.99 |
| MetaSearch | 0.3.6 |
| processing | 2.12.99 |
| db_manager | 0.1.20 |
Supported QGIS version
New profile
Additional context
No response
What is the bug or the crash?
Adding a vector tiles connection based on a style including WMS raster sources results in not working layers.
Steps to reproduce the issue
Add a vector tiles connection using the following style:
https://sgx.geodatenzentrum.de/gdz_basemapde_vektor/styles/bm_web_top.json
Add the content to the Layers widget
See error -> 2 raster layers are added which are not working:
Versions
Supported QGIS version
New profile
Additional context
No response