Created
September 24, 2019 13:53
-
-
Save eSlider/e84ee8ddf63da061d012215bf87579dd to your computer and use it in GitHub Desktop.
Extract PBF tiles from mbtiles (SQLite)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
git clone https://github.com/mapbox/mbutil | |
cd mbutil | |
./mb-util --image_format=pbf *.mbtiles tiles | |
gzip -d -r -S .pbf * | |
find . -type f -exec mv '{}' '{}'.pbf \; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment