Similar to this question: Generating map tiles with QGIS 3.6?, how is it possible to create MBTiles from a raster ? (I operate QGIS 3.4 LRT)
I have tried Save As....
and selecting format: MBTILES
, however the resulting file seems very small and generate an error when reimported in QGIS
I also have tried the plugin: Tiles XYZ
. However I have always a 32kB result file which is empty when reimported in QGIS and after analysis seems to contain only one tile
- For reference, here are the parameters passed to plugin Tiles XYZ:*
Démarrage de l'algorithme 'Generate XYZ tiles (MBTiles)'…
Param: { 'DPI' : 96, 'EXTENT' : '131000,6000000,6764542,7965990 [EPSG:2154]', 'METATILESIZE' : 4, 'OUTPUT_FILE' : '/tmp/processing_7ayyyy/xxxx/OUTPUT_FILE.mbtiles', 'QUALITY' : 75, 'TILE_FORMAT' : 0, 'TRANSPARENT' : True, 'ZOOM_MAX' : 12, 'ZOOM_MIN' : 6 }
Generate XYZ tiles (MBTiles)
tool from the Processing Toolbox?Tiles XYZ
. One output file is generated (very quickly). When I load it in QGIS, nothing is shown. Analyzing the file, I found out that only the first tile of the set contained a partial image of the map. All other tiles (image), for all zoom levels are white (or transparent in PNG). However in QGIS 3.8, it seems the way to go (cf. gis.stackexchange.com/a/331326/34790)