Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

@kartotherian/autogen

Package Overview
Dependencies
Maintainers
8
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@kartotherian/autogen

Tile source to dynamically create tiles if its missing in the storage

latest
Source
npmnpm
Version
1.0.1-wmf.0
Version published
Maintainers
8
Created
Source

Build Status

@kartotherian/autogen

Tile source to dynamically create tiles if its missing in the storage

Usage examples

Scenario: Tiles are stored in a storage (e.g. Cassandra), but not all zoom levels are done. This source will attempt to get the tile from the storage, but if its not available, will get the tile from the generator source, and save it in the storage.

store:
  uri: cassandra://...

gen:
  uri: bridge://
  xml:
    npm: ["osm-bright-source", "data.xml"]

dyn:
  uri: autogen://
  params:
    storage: {ref: store}
    generator: {ref: gen}
    # Optional:
    mingen: 10  # Only generate tiles if missing within this zoom range
    maxgen: 18
    minstore: 10  # if generated, only store them if within this zoom range 
    maxstore: 15

See https://github.com/kartotherian/kartotherian

Keywords

kartotherian

FAQs

Package last updated on 12 Sep 2019

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