kartotherian/demultiplexer

Name: demultiplexer

Owner: kartotherian

Description: Tile source that directs tile requests to different tile sources depending on the zoom level

Created: 2015-08-28 15:23:43.0

Updated: 2018-05-17 05:46:58.0

Pushed: 2017-09-11 22:13:45.0

Homepage: null

Size: 13

Language: JavaScript

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Build Status

@kartotherian/demultiplexer

Tile source that directs tile requests to different tile sources depending on the zoom level

Usage examples

Scenario: There are two different tile sources, one with the low-zoom earth imagery, and another with the detailed vector-based high-zoom data. Demultiplexer would allow us to return low zoom tiles (e.g. before zoom 6) from one source, and high zoom tiles from another.

eLow:
i: cassandra://...

eHigh:
i: cassandra://...


i: demultiplexer://
rams:
source1: {ref: storeLow}
from1: 0
before1: 6
source2: {ref: storeHigh}
from2: 6
before2: 18

fromN is inclusive, beforeN is exclusive. Configuration must specify a non-duplicate source for every zoom level between minimum and maximum, but minimum may be non-zero.

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.