Skip to content
This repository has been archived by the owner on Jun 8, 2020. It is now read-only.

Support for TileJSON #2

Closed
bchartier opened this issue Apr 19, 2018 · 7 comments
Closed

Support for TileJSON #2

bchartier opened this issue Apr 19, 2018 · 7 comments
Labels
enhancement New feature or request

Comments

@bchartier
Copy link

I would suggest to support the TileJSON spec in some way. This would allow some MVT client apps expecting a TileJSON URL to use Postile. I'm thinking about the Vector Tiles Reader plugin for QGIS for instance.

@ldgeo ldgeo added the enhancement New feature or request label Apr 24, 2018
@ldgeo
Copy link
Contributor

ldgeo commented Apr 24, 2018

i don't know if postile should serve the tilejson, you can already create your tilejson referencing a postile endpoint with this simple content :

{
    "tilejson": "1.0.0",
    "name": "OpenStreetMap",
    "description": "A free editable map of the whole world.",
    "version": "1.0.0",
    "attribution": "(c) OpenStreetMap contributors, CC-BY-SA",
    "scheme": "xyz",
    "tiles": [
        "http://localhost:8080/{z}/{x}/{y}.pbf"
    ],
    "minzoom": 0,
    "maxzoom": 18,
    "bounds": [ -180, -85, 180, 85 ]
}

then you can test your tilejson file here : http://trailbehind.github.io/TilejsonTester/

we could simply add a --tilejson tilejson.json and serve it at /tilejson.json, but no idea if it's the best place for that.

@frodrigo
Copy link
Contributor

I think the idea is more to generate a tilejson from tm2source, but not only to serve one.

@ldgeo
Copy link
Contributor

ldgeo commented Oct 23, 2019

@frodrigo yes indeed, besides I already implemented it, coming in the next version !

@frodrigo
Copy link
Contributor

frodrigo commented Apr 6, 2020

@ldgeo I search for commit of tilejson, but not found, there is?

@ldgeo
Copy link
Contributor

ldgeo commented Apr 7, 2020

@frodrigo no i didn't push the branch having this commit. I'm currently working on a fork of Postile rewrited with fastapi and mbtiles writing support. I will release it on a different organization. I will ping you when it's done.

@frodrigo
Copy link
Contributor

frodrigo commented Apr 7, 2020

Ok, thank for your return.

I think the project is not going on the way I need for my work. Production tile generator for OpenMapTiles with tilejson. I don't need for style or mbtiles support, since I already provide this part in an other way.

@delhomer
Copy link

delhomer commented Jun 3, 2020

Migrated project, to thread is going on at https://gitlab.com/Oslandia/postile/-/issues/2

@delhomer delhomer closed this as completed Jun 3, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants