Skip to content

Error in counting tiles in each levels in Generate XYZ tiles (Directory) #62157

@perretz

Description

@perretz

What is the bug or the crash?

Hi!

In the Generate XYZ Tiles in the log file is writen the number of tiles that will be created, but is wrong numbered, the count writen to 18 level is from level 16. The total count 10-19 levels was counted from 10-17 levels.

Steps to reproduce the issue

Create tiles from a raster file (i have ecw and tiff) from level 19 and the count will be calculated from 17

Versions

QGIS version3.42.3-Münster
QGIS code revisionbb018e12fe
 
Libraries
Qt version5.15.13
Python version3.12.10
GDAL version3.10.3
PROJ version9.6.0
EPSG Registry database versionv12.004 (2025-03-02)
GEOS version3.13.1-CAPI-1.19.2
SQLite version3.46.1
PDAL version2.8.3
PostgreSQL client version17.3
SpatiaLite version5.1.0
QWT version6.3.0
QScintilla2 version2.14.1
OS versionWindows 10 Version 2009
 
Active Python plugins
AnotherDXF2Shape1.3.1
HCMGIS24.1.12
qgis-maptiler-plugin3.3
qgis2web3.20.0
quick_map_services0.19.34
XYZHubConnector1.9.9
db_manager0.1.20
grassprovider2.12.99
MetaSearch0.3.6
processing2.12.99

Supported QGIS version

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

New profile

Additional context

My log file:

QGIS version: 3.42.3-Münster
QGIS code revision: bb018e1
Qt version: 5.15.13
Python version: 3.12.10
GDAL version: 3.10.3
GEOS version: 3.13.1-CAPI-1.19.2
PROJ version: Rel. 9.6.0, March 15th, 2025
PDAL version: 2.8.3 (git-version: 56e405)
Algorithm started at: 2025-06-05T15:29:17
Algorithm 'Generate XYZ tiles (Directory)' starting…
Input parameters:
{ 'ANTIALIAS' : True, 'BACKGROUND_COLOR' : QColor(0, 0, 0, 0), 'DPI' : 96, 'EXTENT' : '289659.798400000,300454.322400000,660110.358900000,671030.614900000 [EPSG:3844]', 'HTML_ATTRIBUTION' : '', 'HTML_OSM' : False, 'HTML_TITLE' : '', 'METATILESIZE' : 4, 'OUTPUT_DIRECTORY' : 'D:\nodejs_projects\projects\SALACEA\public\TILES\ortofoto2025', 'OUTPUT_HTML' : 'TEMPORARY_OUTPUT', 'QUALITY' : 75, 'TILE_FORMAT' : 0, 'TILE_HEIGHT' : 256, 'TILE_WIDTH' : 256, 'TMS_CONVENTION' : False, 'ZOOM_MAX' : 19, 'ZOOM_MIN' : 10 }

1 tiles will be created for zoom level 10
1 tiles will be created for zoom level 11
1 tiles will be created for zoom level 12
1 tiles will be created for zoom level 13
4 tiles will be created for zoom level 14
16 tiles will be created for zoom level 15
49 tiles will be created for zoom level 16
196 tiles will be created for zoom level 17
784 tiles will be created for zoom level 18
3025 tiles will be created for zoom level 19
A total of 4078 tiles will be created
Execution completed in 1454.06 seconds (24 minutes 14 seconds)
Results:
OUTPUT_DIRECTORY: D:\nodejs_projects\projects\SALACEA\public\TILES\ortofoto2025
OUTPUT_HTML: C:\Users\Istvan\AppData\Local\Temp\processing_Oimonw\b70f3228b4334f72a2a57ba21caf867d\OUTPUT_HTML.html

Loading resulting layers
Algorithm 'Generate XYZ tiles (Directory)' finished
HTML output has been generated by this algorithm.
Open the results dialog to check it.

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