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

qgis.toolbox.rastertools.Generate_XYZ_tiles_Directory.issue #58820

Open
2 tasks done
namotec opened this issue Sep 20, 2024 · 0 comments
Open
2 tasks done

qgis.toolbox.rastertools.Generate_XYZ_tiles_Directory.issue #58820

namotec opened this issue Sep 20, 2024 · 0 comments
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Mesh Related to general mesh layer handling (not specific data formats) Processing Relating to QGIS Processing framework or individual Processing algorithms

Comments

@namotec
Copy link

namotec commented Sep 20, 2024

What is the bug or the crash?

The internal routine ‘tilesxyzdirectory’ from the toolbox does not process a legend style if a mesh layer is to be tiled with individual symbology.

If a mesh layer is adjusted individually in the Contour under ‘Layer Properies’, only the default values are transferred to the ‘tilesxyzdirectory’ routine.

The error may lie in the incomplete transfer of the legend for a mesh to the toolbox script. There is some evidence in favour of this, as the error also occurs for an MBTiles export.

The error did not occur in QGIS version 3.18.2 (Zurich).

Steps to reproduce the issue

Example:

2024.09.20.qgis.toolbox.rastertools.Generate_XYZ_tiles_Directory.issue.zip

Python Console Test Code:
processing.run("native:tilesxyzdirectory", {'EXTENT':'1284948.110200000,1285088.395300000,6403964.854300000,6404040.428800000 [EPSG:3857]','ZOOM_MIN':18,'ZOOM_MAX':21,'DPI':96,'BACKGROUND_COLOR':QColor(0, 0, 0, 0),'ANTIALIAS':True,'TILE_FORMAT':0,'QUALITY':75,'METATILESIZE':4,'TILE_WIDTH':256,'TILE_HEIGHT':256,'TMS_CONVENTION':False,'HTML_TITLE':'','HTML_ATTRIBUTION':'','HTML_OSM':False,'OUTPUT_DIRECTORY':'TEMPORARY_OUTPUT','OUTPUT_HTML':'TEMPORARY_OUTPUT'})

Versions

System: Kernel: 5.10.0-32-amd64 x86_64 bits: 64 compiler: gcc v: 10.2.1 Desktop: Cinnamon 5.6.8 tk: GTK 3.24.24 wm: muffin
dm: LightDM 1.26.0 Distro: LMDE 5 Elsie base: Debian 11.2 bullseye

<style type="text/css"> p, li { white-space: pre-wrap; } </style>
QGIS version 3.38.3-Grenoble QGIS code revision 37f9e6e
Qt version 5.15.2
Python version 3.9.2
GDAL/OGR version 3.2.2
PROJ version 7.2.1
EPSG Registry database version v10.008 (2020-12-16)
GEOS version 3.9.0-CAPI-1.16.2
SQLite version 3.34.1
PDAL version 2.2.0
PostgreSQL client version 13.16 (Debian 13.16-0+deb11u1)
SpatiaLite version 5.0.1
QWT version 6.1.4
QScintilla2 version 2.11.6
OS version LMDE 5 (elsie)
       
Active Python plugins
zoom_level 0.3.1
lockzoom 3.1.1
Qgis2threejs 2.7.3
qgis-gmsh version 0.2.4
DigitizingTools 1.5.2
ProjectPackager 0.7.3
grassprovider 2.12.99
processing 2.12.99
MetaSearch 0.3.6
db_manager 0.1.20
QGIS version 3.38.3-Grenoble QGIS code revision [37f9e6e](https://github.com/qgis/QGIS/commit/37f9e6efeec) Qt version 5.15.2 Python version 3.9.2 GDAL/OGR version 3.2.2 PROJ version 7.2.1 EPSG Registry database version v10.008 (2020-12-16) GEOS version 3.9.0-CAPI-1.16.2 SQLite version 3.34.1 PDAL version 2.2.0 PostgreSQL client version 13.16 (Debian 13.16-0+deb11u1) SpatiaLite version 5.0.1 QWT version 6.1.4 QScintilla2 version 2.11.6 OS version LMDE 5 (elsie)

Active Python plugins
zoom_level
0.3.1
lockzoom
3.1.1
Qgis2threejs
2.7.3
qgis-gmsh
version 0.2.4
DigitizingTools
1.5.2
ProjectPackager
0.7.3
grassprovider
2.12.99
processing
2.12.99
MetaSearch
0.3.6
db_manager
0.1.20

Supported QGIS version

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

New profile

Additional context

No response

@namotec namotec added the Bug Either a bug report, or a bug fix. Let's hope for the latter! label Sep 20, 2024
@agiudiceandrea agiudiceandrea added Processing Relating to QGIS Processing framework or individual Processing algorithms Mesh Related to general mesh layer handling (not specific data formats) labels Sep 20, 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! Mesh Related to general mesh layer handling (not specific data formats) Processing Relating to QGIS Processing framework or individual Processing algorithms
Projects
None yet
Development

No branches or pull requests

2 participants