Miss any of our Open RFC calls?Watch the recordings here! »

dl-tiles

0.3.2 • Public • Published

dl-tiles

Dependency Status devDependency Status

Downloads tiles from OSM for a location and saves them in an MBTiles store.

Install

Download manually or with package-manager.

npm

npm install --global dl-tiles

Example

> dl-tiles -h
Usage: dl-tiles [<option>...] <mbTiles> <location>

Options:
  -h, --help     display this help message
  -v, --version  display the version number
  -z, --zoom     zoom level                  [default: 12]
> dl-tiles ./tiles.mbtiles 'Paris, France'
Downloading 8 tiles...
2/8 downloaded: 2074×1408
1/8 downloaded: 2073×1408
4/8 downloaded: 2076×1408
3/8 downloaded: 2075×1408
5/8 downloaded: 2073×1409
6/8 downloaded: 2074×1409
8/8 downloaded: 2076×1409
7/8 downloaded: 2075×1409

Install

npm i dl-tiles

DownloadsWeekly Downloads

10

Version

0.3.2

License

none

Last publish

Collaborators

  • avatar