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

Support multiple Layers in WMTS endpoint #121

Merged
merged 11 commits into from
Sep 19, 2023
Merged

Conversation

vincentsarago
Copy link
Member

@vincentsarago vincentsarago commented Aug 31, 2023

Similar as #120 but within the wmts endpoints

This is blocked for now because:

  • This remove any query-parameter check (assets) in the endpoint
  • Testing locally (in QGIS) didn't work, for some reason it request URL with a weird encoding

cc @geospatial-jeff

Note: This will be quite a breaking change for the wmts endpoint so It's not 💯 sure that it will get merged, but maybe added as an extension or an example in the documentation

loader=jinja2.ChoiceLoader(
[
jinja2.PackageLoader(__package__, "templates"),
jinja2.PackageLoader("titiler.core", "templates"),
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We need this because we are using a modified version of the wmts.xml file from titiler

@vincentsarago
Copy link
Member Author

vincentsarago commented Sep 4, 2023

TODO

  • tests
  • documentation

CHANGES.md Outdated
@@ -1,8 +1,9 @@
# Release Notes

## 0,5,2 (TDB)
## 0.5.2 (TDB)
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this should be a minor version update because it's really breaking the WMTSCapatibilities endpoint (removed the openapi schemas for dependencies and return xml with multiple layers)

@vincentsarago vincentsarago changed the title [Not Ready] Support multiple Layers in WMTS endpoint Support multiple Layers in WMTS endpoint Sep 6, 2023
@vincentsarago vincentsarago marked this pull request as ready for review September 6, 2023 08:28
self.render_dependency,
PgSTACParams,
self.reader_dependency,
]
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We now check all the tiles dependencies

@vincentsarago
Copy link
Member Author

@geospatial-jeff could you have a last look before we merge? 🙏

@vincentsarago vincentsarago merged commit ef3507e into main Sep 19, 2023
7 checks passed
@vincentsarago vincentsarago deleted the multiWMTSLayers branch September 19, 2023 03:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants