Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[mvt] Valid style could not be opened #58797

Open
2 tasks done
pathmapper opened this issue Sep 19, 2024 · 0 comments
Open
2 tasks done

[mvt] Valid style could not be opened #58797

pathmapper opened this issue Sep 19, 2024 · 0 comments
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter!

Comments

@pathmapper
Copy link
Contributor

pathmapper commented Sep 19, 2024

What is the bug or the crash?

Layer is not valid: The layer is not a valid layer and can not be added to the map

Steps to reproduce the issue

Try to open the following style:

https://gist.githubusercontent.com/pathmapper/fc570044a2231d9cf5d3c5294c532860/raw/ddb4b93a0fd96369d8ebce23efe39947ada96ccf/style.json

{
  "version": 8,
  "name": "bg",
  "sources": {},
  "layers": [
    {
      "id": "bg",
      "type": "background",
      "layout": {"visibility": "none"},
      "paint": {"background-color": "red"}
    }
  ]
}

Versions

QGIS version | 3.39.0-Master
QGIS code revision | 22036c1
Qt version | 5.15.3
Python version | 3.10.12
GDAL/OGR version | 3.9.0dev-18f9ed2b7c
PROJ version | 8.2.1
EPSG Registry database version | v10.041 (2021-12-03)
GEOS version | 3.10.2-CAPI-1.16.0
SQLite version | 3.37.2
PDAL version | 2.3.0
PostgreSQL client version | 14.13 (Ubuntu 14.13-0ubuntu0.22.04.1)
SpatiaLite version | 5.0.1
QWT version | 6.1.4
QScintilla2 version | 2.11.6
OS version | Ubuntu 22.04.4 LTS

Supported QGIS version

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

New profile

Additional context

No response

@pathmapper pathmapper added the Bug Either a bug report, or a bug fix. Let's hope for the latter! label Sep 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter!
Projects
None yet
Development

No branches or pull requests

1 participant