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

Use a 'via' rel to link back to the Planet data API url that is equivalent. #58

Closed
cholmes opened this issue Feb 10, 2021 · 0 comments
Closed

Comments

@cholmes
Copy link
Contributor

cholmes commented Feb 10, 2021

For RC1 release we will add a 'via' rel, see https://github.com/radiantearth/stac-spec/blob/dev/best-practices.md#using-relation-types

This is perfect to point back at the URL of the data API of Planet, as the original, online source of the STAC record. We can use the 'via' without needing the new STAC release, as you can put anything in 'rel' links.

So for each Item we should construct the data API url from the item_type and ID, and put it in the links with rel = via.

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

1 participant