Skip to content

Instantly share code, notes, and snippets.

@bmcbride
Created December 15, 2016 16:10
Show Gist options
  • Save bmcbride/da03ed1d07602a29b0729e2f7107fb8b to your computer and use it in GitHub Desktop.
Save bmcbride/da03ed1d07602a29b0729e2f7107fb8b to your computer and use it in GitHub Desktop.
GDAL commands to convert GeoTiff image to MBTiles. Requires GDAL 2.1+.
gdal_translate image.tif image.mbtiles -of MBTILES
gdaladdo image.mbtiles 2 4 8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment