1.2.1 • Published 8 years ago

@eniromaps/tile-worker v1.2.1

Weekly downloads
-
License
-
Repository
-
Last release
8 years ago

tile-worker

The basic building block for tile-workers, e.g nautical-tile-worker. Can be configured to render different types of tiles. Queue logic by kue. Image manipulation by sharp/libvips.

Install

From npm:

$ npm install --save @eniromaps/tile-worker

From source:

$ git clone git@bitbucket.org:eniro/tile-worker.git
$ cd tile-worker
$ npm install

Use

Start a tile worker that pulls 'nautical' jobs from a priority job queue backed by the redis instance at <REDIS_URL> and render tiles at <MAPSERVER_URL>:

const tileWorker = require('@eniromaps/tile-worker')

tileWorker({
  redisUrl: <REDIS_URL>,
  mapServerUrl: <MAPSERVER_URL>,
  jobName: 'nautical'
})
1.2.1

8 years ago

1.2.0

8 years ago

1.1.2

8 years ago

1.1.1

8 years ago

1.1.0

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago