Hi, I am adding some related links: - Open GDAL ticket (where you already added your comment) https://github.com/OSGeo/gdal/issues/3126 - Question in gis.stackexchange https://gis.stackexchange.com/questions/376827/gdaladdo-zoom-level-not-supported
The issue is that at the moment GDAL does not handle MBTiles with zoom level>22. That corresponds roughly to pixel size of 11 millimeters. I checked that your image is about 582 meters in height and with 68686 pixels it makes a pixel size of 8-9 millimeters if I calculated it right. BTW. I checked the distance in meters with ogrinfo trick ogrinfo -dialect sqlite -sql "SELECT ST_Distance(ST_GeomFromText('POINT (130.4572338 33.0115493)'),ST_GeomFromText('POINT (130.4572338 33.0063053)'),1)" foo.jml where foo.jml can be any existing ogr source. -Jukka Rahkonen- Evert Etienne (SITEMARK) wrote > Hey, > > Your zoom level explanation makes sense, thanks. > > I should have included the gdalinfo in my previous mail, apologies. > > ``` > Driver: GTiff/GeoTIFF > Files: output.tif > Size is 88543, 68686 > Coordinate System is: > GEOGCRS["WGS 84", > DATUM["World Geodetic System 1984", > ELLIPSOID["WGS 84",6378137,298.257223563, > LENGTHUNIT["metre",1]]], > PRIMEM["Greenwich",0, > ANGLEUNIT["degree",0.0174532925199433]], > CS[ellipsoidal,2], > AXIS["geodetic latitude (Lat)",north, > ORDER[1], > ANGLEUNIT["degree",0.0174532925199433]], > AXIS["geodetic longitude (Lon)",east, > ORDER[2], > ANGLEUNIT["degree",0.0174532925199433]], > ID["EPSG",4326]] > Data axis to CRS axis mapping: 2,1 > Origin = (130.457233786582947,33.011549334631184) > Pixel Size = (0.000000076347339,-0.000000076347339) > Metadata: > AREA_OR_POINT=Area > Image Structure Metadata: > INTERLEAVE=PIXEL > Corner Coordinates: > Upper Left ( 130.4572338, 33.0115493) (130d27'26.04"E, 33d 0'41.58"N) > Lower Left ( 130.4572338, 33.0063053) (130d27'26.04"E, 33d 0'22.70"N) > Upper Right ( 130.4639938, 33.0115493) (130d27'50.38"E, 33d 0'41.58"N) > Lower Right ( 130.4639938, 33.0063053) (130d27'50.38"E, 33d 0'22.70"N) > Center ( 130.4606138, 33.0089273) (130d27'38.21"E, 33d 0'32.14"N) > Band 1 Block=88543x1 Type=Byte, ColorInterp=Red > Mask Flags: PER_DATASET ALPHA > Band 2 Block=88543x1 Type=Byte, ColorInterp=Green > Mask Flags: PER_DATASET ALPHA > Band 3 Block=88543x1 Type=Byte, ColorInterp=Blue > Mask Flags: PER_DATASET ALPHA > Band 4 Block=88543x1 Type=Byte, ColorInterp=Alpha > ``` > causing the error mentioned previously > ``gdal_translate output.tif output.mbtiles -of MBTILES > Input file size is 88543, 68686 > ERROR 1: Could not find an approproate zoom level` > > > _______________________________________________ > gdal-dev mailing list > gdal-dev@.osgeo > https://lists.osgeo.org/mailman/listinfo/gdal-dev -- Sent from: http://osgeo-org.1560.x6.nabble.com/GDAL-Dev-f3742093.html _______________________________________________ gdal-dev mailing list gdal-dev@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/gdal-dev