mbtiles2ungzpbf

Very simple project to convert an mbtiles file into a set of ungzipped pbf tiles for local serving.

Usage no npm install needed!

<script type="module">
  import mbtiles2ungzpbf from 'https://cdn.skypack.dev/mbtiles2ungzpbf';
</script>

README

npm Dependency Status MIT license

NPM

mbtiles2ungzpbf

A very simple project to convert an mbtiles file into a set of ungzipped pbf tiles for local serving.

Install

With npm:

$ npm i mbtiles2ungzpbf -g

Usage

$ 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.

License

mbtiles2ungzpbf is available under the MIT license.

Contact

Copyright (C) 2017 Phiphou

@phiphou @phiphou