-
-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Description
What is the bug or the crash?
I recently tried to generate some vector tiles using the Write Vector Tiles (MBTiles)
tool (although I believe the error also occurs with the Write Vector Tiles (XYZ)
tool. The tool reported that the task was completed fine, and the expected number of tiles are produced, however the resulting vector tiles could not be successfully viewed on a MaplibreGL map, they would show errors like
message : "unknown command 0"
The same error is also shown when trying to parse the resulting tiles with vector-tile-js which is the underlying library used by MapboxGL and MaplibreGL, so I'm fairly confident it's a tile parsing issue.
My first guess might be the tool is struggling to properly process/write MultiGeometries, as the data I was using was a MultiPolygon.
Steps to reproduce the issue
- Download the Australia shapefile
- Run the data through Write Vector Tiles (MBTiles) tool
- Try to view the resulting tiles somehow
- mbview is a no-code MapboxGL viewer option
- Use the example from vector-tile-js
Versions
QGIS version | 3.26.1-Buenos Aires | QGIS code revision | b609df9 |
---|---|---|---|
Qt version | 5.15.2 | ||
Python version | 3.9.5 | ||
GDAL/OGR version | 3.3.2 | ||
PROJ version | 8.1.1 | ||
EPSG Registry database version | v10.028 (2021-07-07) | ||
GEOS version | 3.9.1-CAPI-1.14.2 | ||
SQLite version | 3.35.2 | ||
PDAL version | 2.3.0 | ||
PostgreSQL client version | unknown | ||
SpatiaLite version | 5.0.1 | ||
QWT version | 6.1.6 | ||
QScintilla2 version | 2.11.5 | ||
OS version | macOS 12.6 | ||
Active Python plugins | |||
slyr_community | 3.0.7 | ||
quick_map_services | 0.19.11.1 | ||
NNJoin | 3.1.3 | ||
pluginbuilder3 | 3.2.1 | ||
rvt-qgis | 0.5.2 | ||
dea_explorer | 0.1 | ||
rasterstats | 0.4.3 | ||
GroupStats | 2.2.5 | ||
plugin_reloader | 0.8.1 | ||
processing | 2.12.99 | ||
sagaprovider | 2.12.99 | ||
grassprovider | 2.12.99 | ||
db_manager | 0.1.20 |
Active Python plugins
slyr_community
3.0.7
quick_map_services
0.19.11.1
NNJoin
3.1.3
pluginbuilder3
3.2.1
rvt-qgis
0.5.2
dea_explorer
0.1
rasterstats
0.4.3
GroupStats
2.2.5
plugin_reloader
0.8.1
processing
2.12.99
sagaprovider
2.12.99
grassprovider
2.12.99
db_manager
0.1.20
Supported QGIS version
- I'm running a supported QGIS version according to the roadmap.
New profile
- I tried with a new QGIS profile
Additional context
Another user replicated the problem with the same dataset.