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

[STAC] trailing slash management #995

Open
pvgenuchten opened this issue Aug 5, 2024 · 1 comment
Open

[STAC] trailing slash management #995

pvgenuchten opened this issue Aug 5, 2024 · 1 comment

Comments

@pvgenuchten
Copy link
Contributor

pvgenuchten commented Aug 5, 2024

Description

This is a follow-up of geopython/pygeoapi#97 and radiantearth/stac-browser#384 to indicate STAC contradictionary to ogcapi:records, expects a trailing slash when referencing a folder

This will impact how we build local links

Also a reference to verify that we include a proper self link on records, the latter is what we do, contradicitionary to pygeoapi, which may explain why the links to items on this page are actually operational

@m-mohr
Copy link

m-mohr commented Oct 15, 2024

STAC doesn't require a trailing slash, you are refering to an outdated version.
Latest version: https://github.com/radiantearth/stac-spec/blob/master/best-practices.md#consistent-uris

STAC simply follows RFC 3986 for resolving relative URIs against a base URL (i.e. self link)

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

No branches or pull requests

2 participants