Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
a version of gdal2tiles with MapBox support
branch: master

Adding logo

latest commit e7e3cba9fb
Tom MacWright authored
Failed to load latest commit information. Adding logo Making README & tool a little more user-friendly

gdal2mb logo



If GeoTIFFs are in projections other than EPSG:900913 (as many are), run gdalwarp first:

gdalwarp -t_srs EPSG:900913 raster.tiff raster_merc.tiff

Run python -h for usage instructions.


This is a variation of the gdal2tiles script that supports MapBox mbtiles SQLite tilesets as an output option. It has the same requirements as the original script - notably an installation of GDAL.

Usage of this command is

python raster_merc.tiff raster_merc.mbtiles

The resultant .mbtiles file can be used in Maps on a Stick and elsewhere.

Something went wrong with that request. Please try again.