I'm using gdal_translate to convert TIF files to GeoPackage and MBTiles. The geopackage/MBTiles are uploaded to MapTiler Cloud. They upload to MapTiler Cloud even if they are not "clean tileset" from MapTiler Desktop.
However, there are errors with the zoom levels
- Geopackage 0 to 5
- MBTiles 20 to 20
These are the script I used
TIF to GeoPackage
gdal_translate -of GPKG -oo ZOOM_LEVEL=13 input_3857.tif output.gpkg
TIF to MBTiles
gdal_translate -of MBTiles -oo ZOOM_LEVEL=13 input_3857.tif output.mbtiles
Is there a way to convert a TIF to a GeoPackage/MBTiles that is 100% compatible in MapTiler Cloud just like if it was converted via MapTiler Desktop?