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 API for STAC 1.0 #858

Closed
m-mohr opened this issue Jun 24, 2020 · 4 comments
Closed

STAC API for STAC 1.0 #858

m-mohr opened this issue Jun 24, 2020 · 4 comments

Comments

@m-mohr
Copy link
Collaborator

m-mohr commented Jun 24, 2020

STAC API was split off this repository (the core STAC specification) some time ago after STAC 0.9 has been published. The STAC API specification is lagging a bit behind and thus here are some guidelines for implementing STAC APIs with STAC 1.0:

  • STAC 1.0 can be implemented with STAC API 0.9
  • Once STAC API 1.0 is available, it can also serve STAC 1.0

As there is no way to indicate the STAC API version in API responses, the rules to resolve the STAC API version in client software is as follows:

  • Check the stac_api_version field first. It will be any version number that is >= 1.0 (including beta/rc releases)
  • If not present, check the stac_version field.
    • If it is >= 1.0 (including beta/rc releases), it's a 0.9 API.
    • Otherwise the API version is the given stac_version

Related issues: radiantearth/stac-api-spec#27, #850

@m-mohr
Copy link
Collaborator Author

m-mohr commented Jun 25, 2020

Strictly speaking, only a subset of 1.0.0 can be served in STAC API 0.9.0 as bbox, geometry and datetime in Items have slightly changed. Thus unlocated Items and Items with datetime set to null can't be served via STAC API 0.9.0.

@jisantuc jisantuc unpinned this issue Jul 16, 2020
@m-mohr
Copy link
Collaborator Author

m-mohr commented Aug 24, 2020

@jisantuc Why has this been unpinned? There's no 1.0 API yet...

@jisantuc
Copy link
Contributor

I probably fat fingered it. I have no recollection of deliberately doing that

@m-mohr m-mohr pinned this issue Aug 24, 2020
@cholmes
Copy link
Contributor

cholmes commented Dec 11, 2020

Can we close this now that we have api beta.1?

@m-mohr m-mohr closed this as completed Dec 11, 2020
@m-mohr m-mohr unpinned this issue Dec 11, 2020
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

3 participants