-
Notifications
You must be signed in to change notification settings - Fork 0
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
How to return dynamic sub-catalogs #4
Comments
Some text from stac-api-spec: If sub-catalogs are used, it is recommended that these use the endpoint
Structuring Catalog HierarchiesA STAC API is more useful when it presents a complete For example, child links to sub-catalogs may be structured as in this diagram: graph LR
A[Root] -->|child| B(sentinel-2-l2a)
B --> |child| C(10SDG)
B --> |child| D(10SDH)
B --> |child| E(10SDJ)
B --> |child| BB(...)
C --> |child| F(2018)
C --> |child| G(2019)
C --> |child| CC(...)
D --> |child| H(2018)
D --> |child| DD(...)
E --> |child| I(2018)
E --> |child| EE(...)
F --> |item| J(12.31.0)
F --> |item| K(01.09.0)
F --> |item| L(01.09.1)
F --> |item| FF(...)
STAC API does not define what endpoint or endpoints should returns these catalogs, but approach would be While OAFeat requires that all Items must be part of a Collection, this does not mean that the Collection needs to be These are the two standard ways of structuring a browseable tree of catalogs, the only difference being
All items must be part of a Collection, but the Collection itself does not need to be part of the browsable graph. How you structure your graph of Catalogs can allow you to both group Collections together and create sub-groups
Each of these catalog endpoints could in turn be its own STAC API root, allowing an interface where users can Going the other direction, collections can be sub-grouped into smaller catalogs. For example, this example
If done in a consistent manner, these can also provide "templated" URIs, such that a user could directly request a Similarly, a MODIS product using sinusoidal gridding could use paths of the form
Catalogs can also group related products. For example, here we group together synthetic aperture radar (SAR) products
The catalogs structure is a directed graph that allows
When more than path to an Item is allowed, it is recommended that the final There are many options for how to structure these catalog graphs, so it will take some analysis work to figure out |
Dear @philvarner I read in detail what you propose but I do not have clear why you propose the following paths
Rather than:
From my point of view the following tree structure should work well. Do you think it has something that clashes with the specs?
|
Moved from:
The text was updated successfully, but these errors were encountered: