Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[RFC] Support for TileJSON as a backend source #36

Open
jerluc opened this issue Nov 4, 2020 · 0 comments
Open

[RFC] Support for TileJSON as a backend source #36

jerluc opened this issue Nov 4, 2020 · 0 comments
Labels
new source Request to support a new layer source rfc Request For Comments
Milestone

Comments

@jerluc
Copy link
Member

jerluc commented Nov 4, 2020

tilenol could greatly benefit from the vast majority of tile data servers that are currently unsupported (e.g. Mapbox Tiling Service), and likely to not be supported for a while. In order to provide a simple means of sort of "bridging" this gap, we could potentially implement a new backend data source which allows tilenol to operate as a sort of "frontend" to both raw backend data sources and other tile servers. For example:

layers:
  - name: trees
    source:
      tilejson:
        # The backend TileJSON URL
        url: https://my.tile.server/tilejson
        # The backend layer we want to pull out
        layer: trees
  - name: buildings
    source:
      postgis:
        ...

In this example, tilenol would act as a common "frontend" to both the trees layer (coming from a backend tile server), and the buildings layer (coming directly from PostGIS).

Another interesting thought is that if we were to implement #6 , we could also benefit from the fact that a tilenol server could act as that unified "frontend" for even other tilenol servers, and form a kind of "federated" service.

@jerluc jerluc added rfc Request For Comments new source Request to support a new layer source labels Nov 4, 2020
@jerluc jerluc modified the milestones: v2.0.0, v1.1.0 Apr 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new source Request to support a new layer source rfc Request For Comments
Projects
None yet
Development

No branches or pull requests

1 participant