mbtiles-extracts
v1.1.0
Published
A tool to extract parts of an MBTiles file into separate files using a GeoJSON with polygons (e.g. split world data into countries).
Downloads
21
Readme
MBTiles Extracts
A tool to extract parts of an MBTiles file into separate files using a GeoJSON with polygons (e.g. split world data into countries).
Results from mbtiles-extracts
The mbtiles-extracts
tool extracts all tiles intersecting with the polygons in the GeoJSON. For example:
For a given polygon in an mbtiles file
mbtiles-extracts
returns
NOT
Usage:
npm install mbtiles-extracts
$ mbtiles-extracts <MBTiles path> <GeoJSON path> <property name>
Example:
$ mbtiles-extracts planet.mbtiles countries.json admin