kartotherian/autogen

Name: autogen

Owner: kartotherian

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

Created: 2015-08-23 15:09:31.0

Updated: 2018-03-07 01:45:49.0

Pushed: 2017-10-02 19:23:29.0

Homepage: null

Size: 21

Language: JavaScript

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

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.

e:
i: cassandra://...


i: bridge://
l:
npm: ["osm-bright-source", "data.xml"]


i: autogen://
rams:
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


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.