-
Notifications
You must be signed in to change notification settings - Fork 4
Implement WMTS REST request encoding #29
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR implements WMTS REST request encoding support for STAC layers. The change adds the ability to handle WMTS links that use REST-style URLs with template variables instead of the traditional KVP (Key-Value Pair) encoding.
- Adds support for WMTS REST request encoding by parsing template variables from link metadata
- Implements variable substitution logic using const, default, or first enum values
- Restructures existing WMTS handling to support both REST and KVP encoding methods
Reviewed Changes
Copilot reviewed 2 out of 3 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| src/ol/layer/STAC.js | Adds REST encoding support with variable substitution and restructures WMTS case handling |
| CHANGELOG.md | Documents the new WMTS REST request encoding feature |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
Copilot reviewed 3 out of 4 changed files in this pull request and generated 2 comments.
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
See stac-extensions/web-map-links#28
Potential issue: