Skip to content

[mvt] WMS raster sources are not working #61040

Description

@pathmapper

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

  1. Add a vector tiles connection using the following style:
    https://sgx.geodatenzentrum.de/gdz_basemapde_vektor/styles/bm_web_top.json

  2. Add the content to the Layers widget

  3. 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
    },

Image

Versions

QGIS version3.43.0-Master
QGIS code revision980f4b7934d
 
Libraries
Qt version5.15.13
Python version3.12.3
GDAL version3.8.4
PROJ version9.4.0
EPSG Registry database versionv11.004 (2024-02-24)
GEOS version3.12.1-CAPI-1.18.1
SQLite version3.45.1
PostgreSQL client version16.8
SpatiaLite version5.1.0
QWT version6.1.4
QScintilla2 version2.14.1
OS versionUbuntu 24.04.2 LTS
 
Active Python plugins
grassprovider2.12.99
MetaSearch0.3.6
processing2.12.99
db_manager0.1.20

Supported QGIS version

  • I'm running a supported QGIS version according to the roadmap.

New profile

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions