@eniromaps/tile-worker

1.2.1 • Public • Published

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'
})

Readme

Keywords

none

Package Sidebar

Install

npm i @eniromaps/tile-worker

Weekly Downloads

3

Version

1.2.1

License

none

Last publish

Collaborators

  • bodaniel
  • davvo
  • maps