@eniromaps/tile-worker
Pulls work from queue and draws meta tiles
Last updated 4 years ago by davvo .
Original npm · Tarball · package.json
$ cnpm install @eniromaps/tile-worker 
SYNC missed versions from official npm registry.

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

Current Tags

  • 1.2.1                                ...           latest (4 years ago)

6 Versions

  • 1.2.1                                ...           4 years ago
  • 1.2.0                                ...           4 years ago
  • 1.1.2                                ...           4 years ago
  • 1.1.1                                ...           4 years ago
  • 1.1.0                                ...           4 years ago
  • 1.0.1                                ...           4 years ago
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 7
Dependencies (6)
Dev Dependencies (1)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |