You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Virgin Install: QGIS version 3.28.2-Firenze QGIS code revision b47e00b on Windows 10
create new project
add raster layer (png, tiff, etc)
Menu > Processing > Toolbox > Generate XYZ tiles (MBTiles)
[set to current map canvas extent]
[default parameters]
[run]
Versions
QGIS version
3.28.2-Firenze
QGIS code revision b47e00b
Qt version
5.15.3
Python version
3.9.5
GDAL/OGR version
3.6.1
PROJ version
9.1.1
EPSG Registry database version
v10.076 (2022-08-31)
GEOS version
3.11.1-CAPI-1.17.1
SQLite version
3.39.4
PDAL version
2.4.3
PostgreSQL client version
unknown
SpatiaLite version
5.0.1
QWT version
6.1.6
QScintilla2 version
2.13.1
OS version
Windows 10 Version 2009
... did you realise that you imported an unprojected image that wrapped the globe multiple times? If you used some data that actually made sense I doubt you'd get an error.
What is the bug or the crash?
QGIS version: 3.28.2-Firenze
QGIS code revision: b47e00b
Qt version: 5.15.3
Python version: 3.9.5
GDAL version: 3.6.1
GEOS version: 3.11.1-CAPI-1.17.1
PROJ version: Rel. 9.1.1, December 1st, 2022
PDAL version: 2.4.3 (git-version: f8d673)
Algorithm started at: 2022-12-23T17:51:03
Algorithm 'Generate XYZ tiles (MBTiles)' starting…
Input parameters:
{ 'BACKGROUND_COLOR' : QColor(0, 0, 0, 0), 'DPI' : 96, 'EXTENT' : '573.578924385,1204.666331795,-1756.883371974,-564.522169583 [EPSG:4326]', 'METATILESIZE' : 4, 'OUTPUT_FILE' : 'TEMPORARY_OUTPUT', 'QUALITY' : 75, 'TILE_FORMAT' : 0, 'ZOOM_MAX' : 12, 'ZOOM_MIN' : 12 }
Traceback (most recent call last):
File "C:\PROGRA
1/QGIS321.2/apps/qgis/./python/plugins\processing\algs\qgis\TilesXYZ.py", line 463, in processAlgorithmself.generate(writer, parameters, context, feedback)
File "C:\PROGRA
1/QGIS321.2/apps/qgis/./python/plugins\processing\algs\qgis\TilesXYZ.py", line 291, in generatemetatiles = get_metatiles(self.wgs_extent, zoom, self.metatilesize)
File "C:\PROGRA
1/QGIS321.2/apps/qgis/./python/plugins\processing\algs\qgis\TilesXYZ.py", line 123, in get_metatilesleft_tile, top_tile = deg2num(north_edge, west_edge, zoom)
File "C:\PROGRA
1/QGIS321.2/apps/qgis/./python/plugins\processing\algs\qgis\TilesXYZ.py", line 72, in deg2numytile = int((1.0 - math.log(math.tan(lat_rad) + (1 / math.cos(lat_rad))) / math.pi) / 2.0 * n)
ValueError: math domain error
Execution failed after 0.04 seconds
Loading resulting layers
Algorithm 'Generate XYZ tiles (MBTiles)' finished
Steps to reproduce the issue
Versions
QGIS version
3.28.2-Firenze
QGIS code revision
b47e00b
Qt version
5.15.3
Python version
3.9.5
GDAL/OGR version
3.6.1
PROJ version
9.1.1
EPSG Registry database version
v10.076 (2022-08-31)
GEOS version
3.11.1-CAPI-1.17.1
SQLite version
3.39.4
PDAL version
2.4.3
PostgreSQL client version
unknown
SpatiaLite version
5.0.1
QWT version
6.1.6
QScintilla2 version
2.13.1
OS version
Windows 10 Version 2009
Active Python plugins
db_manager
0.1.20
grassprovider
2.12.99
MetaSearch
0.3.6
processing
2.12.99
sagaprovider
2.12.99
Supported QGIS version
New profile
Additional context
No response
The text was updated successfully, but these errors were encountered: