Skip to content

Instantly share code, notes, and snippets.

@danielreiser
Last active July 30, 2021 06:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save danielreiser/98dbd59828d201c4f9d361e100418706 to your computer and use it in GitHub Desktop.
Save danielreiser/98dbd59828d201c4f9d361e100418706 to your computer and use it in GitHub Desktop.
Extract vector tiles from a MBTiles file
cd data/
sudo apt-get install -y python
git clone https://github.com/mapbox/mbutil.git
./mbutil/mb-util --image_format=pbf tiles.mbtiles tiles
cd ../tiles/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment