1.1.0 • Published 5 years ago

mbtiles-extracts v1.1.0

Weekly downloads
1
License
ISC
Repository
-
Last release
5 years ago

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