Skip to content
This repository was archived by the owner on Apr 2, 2019. It is now read-only.

WIP: Inject config for maxzoom#4

Closed
mattflaschen wants to merge 1 commit into
kartotherian:masterfrom
mattflaschen:dynamicMaxZoom
Closed

WIP: Inject config for maxzoom#4
mattflaschen wants to merge 1 commit into
kartotherian:masterfrom
mattflaschen:dynamicMaxZoom

Conversation

@mattflaschen
Copy link
Copy Markdown

This allows different stacks to use their own setting while
reducing hard-coding.

This is based off a random tag (0.0.17), since that is the only way I can
get it to work with update-snapshot-dep. It needs to be rebased.

Bug: T186780

This allows different stacks to use their own setting while
reducing hard-coding.

This is based off a random tag (0.0.17), since that is the only way I can
get it to work with update-snapshot-dep.  It needs to be rebased.

Bug: T186780
mattflaschen pushed a commit to mattflaschen/kartotherian that referenced this pull request Feb 10, 2018
This allows different stacks to use their own setting while
reducing hard-coding.

Works with kartotherian/server#4

Bug: T186780
@nyurik
Copy link
Copy Markdown
Member

nyurik commented Feb 10, 2018

@mattflaschen thx for the PR, but this is not a good approach (although a fairly creative). Kartotherian already supports the getInfo() interface, and the clients should rely on the https://github.com/mapbox/tilejson-spec/tree/master/2.2.0 standard. Each storage module could either store that json in their own storage (e.g. in a file system, cassandra, etc), or it could pull this data from the config file.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants