GDAL is supposed to read MBTiles files and to do so, it selects the highest zoomlevel available. However, is there a way to choose another zoomlevel? i.e. override the default and go for a lower one?
I'm currently accessing the file like this (and it defaults to the highest zoomlevel):
gdal_translate tiles.mbtiles export.tiff
Answer
Gdal_translate's Dataset open option -oo
allows to specify MBTiles opening options.
To answer the question, you can get e.g. zoom level 12 by doing:gdal_translate -oo ZOOM_LEVEL=12 tiles.mbtiles export.tiff
No comments:
Post a Comment