@eniromaps/seeder
Seeda!
Last updated 3 years ago by bodaniel .
Original npm · Tarball · package.json
$ cnpm install @eniromaps/seeder 
SYNC missed versions from official npm registry.

seeder

Seed TMS tiles and store them on Amazon S3 under a specific tile version. Tiles can later be fetched via a tile-broker.

The seeder will push jobs on a priority job queue backed by the redis instance at REDIS_URL. Jobs are pulled from the queue by tile-workers who will render the tiles and store them on Amazon S3 under the correct tile version.

Install

$ git clone git@bitbucket.org:eniro/seeder.git
$ cd seeder
$ npm install

Config

The following environment variables can be set. They can later be overridden by command line args.

$ export REDIS_URL=<redis-server-url> #default is redis://127.0.0.1:6379

Run

$ bin/seed.js <options>

The following options are available:

  • --redisUrl

    set redis url (override $REDIS_URL)

  • --layer

    The layer to seed. e.g map or nautical

  • --zoom

    Comma separated list of zoom levels to seed

  • --metaTileSize

    Meta tile size. Default is 3.

  • --concurrency

    Number of meta tiles that should be processed at the same time. Default is 5.

  • --tileVersion

    The new tile version. Default is todays date e.g 20160223

  • --shp

    Shapefile with seeding bounds.

Example

$ bin/seed.js --layer=map --zoom=15,16,17 --shp=shape/ag_omr.shp

Current Tags

  • 1.0.0                                ...           latest (3 years ago)

1 Versions

  • 1.0.0                                ...           3 years ago
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 1
Dependencies (10)
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |