Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@eniromaps/seeder

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@eniromaps/seeder

Seeda!

  • 1.0.0
  • latest
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

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

FAQs

Package last updated on 09 Feb 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc