A little python script to take an mbtiles file and split it apart into a folder hierarchy of individual image tile files.
Python 100.00%
mbtiles-extractor's Introduction
Step 1: Save convert.py into the same folder as your .mbtiles file
Step 2: Make sure python is installed
Step 3: In terminal, cd into that folder
Step 4: Run this:
python convert.py filename.mbtiles
That's it! It should generate a folder called filename filled with PNGs that contain the data in the mbtiles archive.
Notes:
- The Y axis values are set from a top left origin, which is TMS standard. This is not the default on many other mapping applications, like the google maps API or Leaflet, which require an option to use "TMS" scheme instead of "XYZ".