Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mbtile file gdal ERROR 6: Unsupported tile characteristics #72

Closed
shaystrong opened this issue Aug 17, 2016 · 1 comment
Closed

mbtile file gdal ERROR 6: Unsupported tile characteristics #72

shaystrong opened this issue Aug 17, 2016 · 1 comment

Comments

@shaystrong
Copy link

I am having trouble with the generated mbtiles file when using mb-util from the command line. I have a metadata.json in the folder/ and tiles are all inserted without error. I am unsure why gdal cannot recognize this file (nor qgis) and gdal is updated and normally reads mbtile files.

mb-util folder/ foo.mbtiles     (where folder has the structure: folder/z/x/y)
...
DEBUG:mbutil.util:tiles (and grids) inserted.
DEBUG:mbutil.util:analyzing db
DEBUG:mbutil.util:cleaning db
829400 tiles inserted (1655 tiles/sec)
$ gdalinfo foo.mbtiles 
ERROR 6: Unsupported tile characteristics
gdalinfo failed - unable to open 'foo.mbtiles'.
@shaystrong
Copy link
Author

total user error. My images were all in a strange size, 100x100, rather than 256x256. While the metadata.json file had the correct lat/long bounds, the smaller image sizes weren't being archived in the mbtile file correctly. Changing them fixed it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant