Skip to content

Broken rendering when exporting to xyz directory or mbtiles #62319

@Tartamillo

Description

@Tartamillo

What is the bug or the crash?

Rendering of the XYZ algorithms in latest versions (at least from 3.34) differs from the screen preview and previous versions (up to at least 3.28). Font sizes, colors and transparencies are messed up and label halo not applied.

Steps to reproduce the issue

mbtiles_bug.zip

Just look at the attached files. There are two .mbtiles files rendered with the two versions, the difference in rendering is pretty obvious at every zoom level from 12 to 15.

Up to 3.28 (Windows version) rendering has always been consistent with the screen preview. When I upgraded to 3.40 (Ubuntu version from QGIS repos), I found it completely broken. For testing purposes I tried also 3.34 (from Ubuntu repos) and 3.42 (from QGIS repos), all are broken in the same way.

"test_xyx_3_28.qgz" is the original project file, created with the windows version. "test_xyx_3_42.qgz" is the same file that has been resaved with 3.42 for Ubuntu in order to enable the label masks that turned out to be disabled after opening the original file with the newer release. Other than that it's the same file.

Versions

QGIS version
3.28.12-Firenze
QGIS code revision
dcc633b
Qt version
5.15.3
Python version
3.9.5
GDAL/OGR version
3.7.2
PROJ version
9.3.0
EPSG Registry database version
v10.094 (2023-08-08)
GEOS version
3.12.0-CAPI-1.18.0
SQLite version
3.41.1
PDAL version
2.5.5
PostgreSQL client version
unknown
SpatiaLite version
5.1.0
QWT version
6.1.6
QScintilla2 version
2.13.4
OS version
Windows 10 Version 2009

Active Python plugins
batchvectorlayersaver
0.9
BulkVectorExport
1.1
geometric_attributes
0.4
HCMGIS
24.10.20
joinmultiplelines
Version 0.4.1
kmltools
3.2.2
layer2kmz
1.5.3
layertilesmapcanvas
1.4
lockzoom
3.1.1
mmqgis
2021.9.10
poiexport
3.0.5
point_selection
0.5
ProcessX
1.7.1
profiletool
4.2.6
qgis-EasyDEM-plugin
2.0
qProf
0.5.1
quick_map_services
0.19.34
road_slope_calculator
0.5
zoom_level
0.3.1
db_manager
0.1.20
processing
2.12.99


Versione di QGIS
3.42.3-Münster
Revisione codice QGIS
bb018e1

Librerie
Versione Qt
5.15.13
Versione Python
3.12.3
GDAL version
3.8.4
Versione PROJ
9.4.0
Versione database del Registro EPSG
v11.004 (2024-02-24)
Versione GEOS
3.12.1-CAPI-1.18.1
Versione SQLite
3.45.1
Versione client PostgreSQL
16.8
Versione SpatiaLite
5.1.0
Versione QWT
6.1.4
Versione QScintilla2
2.14.1
Versione SO
Ubuntu 24.04.2 LTS

Plugins Python attivi
processing
2.12.99
db_manager
0.1.20
MetaSearch
0.3.6
grassprovider
2.12.99

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

    BugEither a bug report, or a bug fix. Let's hope for the latter!ProcessingRelating to QGIS Processing framework or individual Processing algorithms

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions