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

OGC API - Tiles #546

Open
vincentsarago opened this issue Nov 25, 2022 · 3 comments
Open

OGC API - Tiles #546

vincentsarago opened this issue Nov 25, 2022 · 3 comments
Assignees
Labels
enhancement New feature or request wontfix This will not be worked on

Comments

@vincentsarago
Copy link
Member

vincentsarago commented Nov 25, 2022

The OGC just published https://ogcapi.ogc.org/tiles/

To be clear, TiTiler DO NOT AIM to follow the specification to the letter (because the specification is not built around dynamic tiling but more on static tiling) but we can try to follow some part.

  • /tileMatrixSets: List available TMS (already implemented)
  • /tileMatrixSets/{TileMatrixSetId}: TMS metadata (already implemented)
  • /conformance

Note: The Tile spec is based on the TMS 2.0 specification so we will have to update morecantile first

full spec https://docs.ogc.org/is/20-057/20-057.html

@vincentsarago vincentsarago added the enhancement New feature or request label Nov 25, 2022
@dchirst
Copy link
Contributor

dchirst commented May 16, 2023

@vincentsarago Once Morecantile 4.0 is fully released,I can start working on this!

@vincentsarago
Copy link
Member Author

🙏

@vincentsarago
Copy link
Member Author

vincentsarago commented Jul 2, 2023

Quick update, I don't think we will be able comply with the OGC Tile 2.0 specification.

We will be able to update the tilematrixset (like https://github.com/developmentseed/tipg/blob/main/tipg/factory.py#L1275-L1364) but for the other endpoints it will be pretty hard.

DataSet Collection ({datasetAPI}/collections/{collectionId}/tiles)

We don't have collections in titiler! Some could think that /cog or /mosaic could be collectionId but this will makes things more complex.

Also the specification is pretty strict about the query parameter for the endpoints, and url=dataset url won't be accepted.

TileSet

example: https://github.com/developmentseed/tipg/blob/main/tipg/factory.py#L1366-L1555

We might still want to add tileset but I'm not sure it will be worth it especially knowing that it's pretty much impossible to titiler to be OGC compliant.

ps: I personally, as the project maintainer, don't see any obligation to comply with OGC specification because TiTiler has existed for quite some time already and I never had official requests to make it so.

@vincentsarago vincentsarago added this to TODO in titiler 0.12 Jul 10, 2023
@vincentsarago vincentsarago self-assigned this Jul 17, 2023
@vincentsarago vincentsarago added the wontfix This will not be worked on label Jul 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request wontfix This will not be worked on
Projects
No open projects
Development

No branches or pull requests

2 participants