Skip to content

A little python script to take an mbtiles file and split it apart into a folder hierarchy of individual image tile files.

Notifications You must be signed in to change notification settings

cuulee/MBTiles-extractor

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 

Repository files navigation

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".

About

A little python script to take an mbtiles file and split it apart into a folder hierarchy of individual image tile files.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%