A very simple project to convert an mbtiles file into a set of ungzipped pbf tiles for local serving.
With npm:
$ npm i mbtiles2ungzpbf -g
$ mbtiles2ungzpbf -f tiles.mbtiles
You can also specify the output directory with the dir
option (named tiles
by default).
$ mbtiles2ungzpbf -f tiles.mbtiles -d mytiles
Try
$ mbtiles2ungzpbf --help for detailled usage instructions.
mbtiles2ungzpbf is available under the MIT license.
Copyright (C) 2017 Phiphou