-
Notifications
You must be signed in to change notification settings - Fork 11
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
Collection name aliases / deprecation #226
Comments
somewhat related to #52 |
(and maybe uou could even take it a step further by adding deprecation flags and letting clients (or backends) raise warnings on usage of deprecated collection ids.) |
Both features are not foreseen yet in STAC (that's the basis for our collection discovery) and I'd need to check how to best integrate this. |
…elation type successor-version can point to a newer version. #226
I added that collections (and processes) can be marked as deprecated, see 4918bd8. Links with relation type successor-version can point to a newer version. I'm still not convinced regarding the collection aliases, therefore I'm closing for now. Feel free to comment with more arguments and/or use cases and I may reconsider it for the next version. |
…elation type successor-version can point to a newer version. #226
The deprecation flag can indeed be helpful About the aliases: no biggie, we can still duplicate collections under a new collection_id key (aliases would just make that a bit cleaner and more explicit) One additional use case where it may come in handy: say the VITO backend provides Sentinel 2 data under "CGS_SENTINEL2_RADIOMETRY_V102_001" and an another backend provides it under "FOO_SENTINEL2_BAR". To improve interoperability, both backends might want to alias these with for example "SENTINEL2_V2019", while still keeping the original names for backward compatibility. |
I guess the easiest solution with the current model would be that you duplicate the metadata under a different name and just internally let them point to the same source data. You could point to the alternative collections with a link of relation type |
Feature request: let the
/collections
and/collections/{collection_id}
optionally specify a list of collection_id aliases for each collection.A backend might want to change the name/id of a collection (e.g. to simplify usage, have more uniform naming, bump version numbers, ...) without breaking existing code that uses old names.
The text was updated successfully, but these errors were encountered: