mbtiles-extracts

1.1.0 • Public • Published

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

screen shot 2018-11-11 at 1 46 52 pm

mbtiles-extracts returns

screen shot 2018-11-11 at 1 46 18 pm

NOT

screen shot 2018-11-11 at 2 10 10 pm

Usage:

npm install mbtiles-extracts
$ mbtiles-extracts <MBTiles path> <GeoJSON path> <property name>

Example:

$ mbtiles-extracts planet.mbtiles countries.json admin

Readme

Keywords

none

Package Sidebar

Install

npm i mbtiles-extracts

Weekly Downloads

7

Version

1.1.0

License

ISC

Unpacked Size

54.8 kB

Total Files

6

Last publish

Collaborators

  • geohacker
  • mourner