[gdal-dev] MBTiles generation docs question
Evert Etienne (SITEMARK)
evert.etienne at sitemark.com
Fri Dec 4 01:02:07 PST 2020
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`
More information about the gdal-dev
mailing list