I want to create mbtiles with the GDAL Python API. How can I integrate format specific options like "TILE_FORMAT = 'jpeg', QUALITY='90'"
for mbtiles?
from osgeo import gdal
path = r'C:\Users\go\my.vrt'
pathout = r'C:\Users\go\my.mbtiles'
src_ds = gdal.Open(path)
ds = gdal.Translate(pathout , src_ds, format = 'mbtiles')
ds = No
ds = gdal.Translate(pathout , src_ds, format = 'mbtiles', TILE_FORMAT = 'jpeg', QUALITY='90')