- Python (included on OSX and Linux)
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
python gdal2tiles.py -h for usage instructions.
Usage of this command is
python gdal2tiles.py raster_merc.tiff raster_merc.mbtiles
.mbtiles file can be used in Maps on a Stick and elsewhere.