mapbox / rio-mbtiles

A plugin command for the Rasterio CLI that exports a raster dataset to an MBTiles 1.1 SQLite file
MIT License
125 stars 36 forks source link

wrond dataset of mbtiles and png/jpg files #14

Closed spatialhast closed 8 years ago

spatialhast commented 8 years ago

I install rio-mbtiles on Ubuntu 14.04.3 and try create mbtiles from my raster and raster in tests/data/ folder:
rio mbtiles RGB.byte.tif -o raster.mbtiles -j 4 --format PNG --image-dump /home/box/rio-mbtiles/tests/data mbtiles and image tiles successfully created but image tiles (png and jpg) don't opened in standart image files viewer. Also mbtiles file don't opened in QGIS (opened as tables (tiles and metadata)) or another mbtiles viewer. Example output data available on link https://www.dropbox.com/s/kfg2pywe9q21adx/rio-mbtiles_data.zip?dl=0 How I can get valid mbtiles?

sgillies commented 8 years ago

I think this is a GDAL bug. Got a solution for this coming in 1.3.0, but it will require a rasterio upgrade to >=1.0a1.