[gdal-dev] MBTiles generation docs question

jratike80 jukka.rahkonen at maanmittauslaitos.fi
Thu Dec 3 10:37:57 PST 2020


Hi,

I would guess that the appropriate zoom level is the one with pixel size
closest to the pixel size of the source file after it has been warped into
EPSG:3857.

Please add gdalinfo report about the source image. 

-Jukka Rahkonen-


Evert Etienne (SITEMARK) wrote
> Dear,
> 
> I have a question about the following extract of the MBTiles driver docs
> (https://gdal.org/drivers/raster/mbtiles.html#raster-creation-issues)
> 
>> When using the CreateCopy() API (such as with gdal_translate), automatic
>> reprojection of the input dataset to EPSG:3857 (WebMercator) will be
>> done, with selection of the appropriate zoom level.
> 
> As far as I understand it, the input file (tif in my case) will be warped
> to 3857 before MBTiles generation. But I am unsure what the appropriate
> zoom level means in this case, could someone elaborate or point me in a
> next direction to investigate?
> 
> I was looking at these docs for the explanation of the following error I
> got, pointers much appreciated as well.
> 
> `gdal_translate output.tif output.mbtiles -of MBTILES
> Input file size is 88543, 68686
> ERROR 1: Could not find an approproate zoom level`
> 
> Many thanks
> 
> _______________________________________________
> gdal-dev mailing list

> gdal-dev at .osgeo

> https://lists.osgeo.org/mailman/listinfo/gdal-dev





--
Sent from: http://osgeo-org.1560.x6.nabble.com/GDAL-Dev-f3742093.html


More information about the gdal-dev mailing list