-
Notifications
You must be signed in to change notification settings - Fork 25
Where is the 'catalog'? #308
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
Comments
+1 |
The Catalog object is available at the API landing page. STAC API only supports a single Catalog because it is optimized for search. Basically a single STAC API is a single Catalog. To group Items within STAC API, you should use Collections or give the Items a common field that you can filter with the |
The core STAC API spec is available here: https://github.com/radiantearth/stac-api-spec/tree/release/v1.0.0/core#core |
Thanks but I don't see how this can be used in a real environment where you pay for resources (production I mean)
This optimization is provided out of the box from ES, we should concentrate here on functionalities don't you think so?
But you are also not providing a collection search? Wouldn't be better to have a logical level on top of this to properly implement the catalog (not only looking at the core implementation?)? |
Most STAC API implementations (or at least the ones starting from
If you want to add support for nested catalogs, you'll have to make some drastic changes to the way the API is organized. This has also consequences for API extensions like the transaction, collection-transaction, ... |
I would be interested in exploring ideas on how to explore multiple catalogs or even nested catalogs with a stac-api. Maybe if a STAC catalog could be searched in the api the same way a STAC collection is, then catalogs would just be searched in the same way ie |
Yes. If we revisit the Catalog spec: {
"stac_version": "1.0.0",
"type": "Catalog",
"id": "20201211_223832_CS2",
"description": "A simple catalog example",
"links": []
} A Collection is the same as a Catalog, except that is has additional fields for {
"stac_version": "1.0.0",
"type": "Collection",
"license": "ISC",
"id": "20201211_223832_CS2",
"description": "A simple collection example",
"links": [],
"extent": {},
"summaries": {}
} I don't see how adding multi-Catalog support would increase performance. Additional Catalogs would add additional indices to ES/OS, but the documents inside the Catalog are just pointers to the Collection indices. All of the STAC data will still stored ina single index per STAC Collection.
STAC API takes advantage of horizontal scaling of ES/OS. There is a single |
Thanks all for your thoughts The problems I'm mentioning are not related to performance but to an organisation of the catalog and the costs of the services, an ES instance on the cloud costs quite a lot and managing a single catalog over it leads to several organisational problems in our case and it won't be an option to mix all the collections in one big catalog, we will need to split the service over several well separated catalogs. Looking at that collections-0001 hardcoded I'm thinking to create several collections indexes making this parametric. |
Uh oh!
There was an error while loading. Please reload this page.
Describe the bug
From the spec page:
https://github.com/radiantearth/stac-api-spec/blob/v1.0.0/stac-spec/catalog-spec/catalog-spec.md
The standards says:
So I'm wondering why we can't have more than one catalog on a single ES instance.
I think this is a major issue as it may also change all the rest url paths.
Expected behavior
I would expect to have a first level catalog, then the collections, so we can have multiple catalogs per ES instance.
The text was updated successfully, but these errors were encountered: