0.10.2 • Published 6 years ago

tl v0.10.2

Weekly downloads
31
License
ISC
Repository
github
Last release
6 years ago

tl

A command line alternative to tilelive that supports streaming copies and static image rendering.

Installation

npm install tl
npm install mbtiles tilelive-file
# install any other tilelive modules you'd like to read/write from

Usage

Copy tiles from a filesystem to an MBTiles archive (assumes that tilelive-file and mbtiles are installed):

tl copy file://./tiles mbtiles://./tiles.mbtiles

Render a TM2 style for a small area into an MBTiles archive:

npm install mbtiles tilelive-tmstyle tilelive-mapbox tilejson \
  tilelive-vector@^0.13.0
tl copy
  -z 6 -Z 6 -b "-124.4096 32.5343 -114.1308 42.0095" \
  tmstyle://./project.tm2/ mbtiles://./tiles.mbtiles

Copy tiles from an MBTiles archive to S3.

tl copy mbtiles://./tiles.mbtiles "s3://bucket-name/{z}/{x}/{y}.png?acl=public-read"

Caveats

Some tilelive providers use other providers but don't depend on them directly (relying on tilelive.load()), so you may need to install (and --require|-r) some modules that you're not using directly.

For example, tilelive-tmstyle often loads data using tilelive-mapbox, which actually uses tilejson under the hood to do the fetching. Rendering is then done using tilelive-vector (which is declared as a peer dependency of tilelive-tmstyle, so versions may not always match up to whatever's most up-to-date).

0.10.2

6 years ago

0.10.1

7 years ago

0.10.0

7 years ago

0.9.0

8 years ago

0.8.1

8 years ago

0.8.0

8 years ago

0.7.0

8 years ago

0.6.0

8 years ago

0.5.0

8 years ago

0.4.0

9 years ago

0.3.4

9 years ago

0.3.3

9 years ago

0.3.2

9 years ago

0.3.1

9 years ago

0.3.0

9 years ago

0.2.1

10 years ago

0.2.0

10 years ago

0.1.1

10 years ago

0.1.0

10 years ago