Opened 10 years ago

Closed 10 years ago

#5694 closed defect (duplicate)

MbTile file doesn't open

Reported by: jpalmer Owned by: warmerdam
Priority: normal Milestone:
Component: default Version: unspecified
Severity: normal Keywords:
Cc:

Description

I have a mbtile that is missing a few tiles (tilemill issue) and gdal complains that it's not a valid datasource via gdalinfo and QGIS. Would be nice if QGIS via gdal could still read the file.

Example corrupt mbtile:

https://www.dropbox.com/s/fzlh3dg9yfcyphv/TextLayer.mbtiles?dl=0

Note I can work around the issue by setting --config MBTILES_BAND_COUNT 4, but that not that easy to do under QGIS unless you tell the user to set an environment variable.

Change History (3)

comment:1 by Even Rouault, 10 years ago

Jeremy, the 4 bands are well detected by GDAL 1.11.1 and trunk. I believe this is fixed by #5439 and actually when running it under debugger, I can see that the fix done in #5439 is triggered by this dataset.

comment:2 by jpalmer, 10 years ago

Thanks Even, I upgraded and yes it fixed the problem. I will have to get our windows distribution updated!

comment:3 by Even Rouault, 10 years ago

Resolution: duplicate
Status: newclosed
Note: See TracTickets for help on using tickets.