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

How to have a Collection of Collections? #206

Open
randyberos opened this issue Aug 29, 2023 · 4 comments
Open

How to have a Collection of Collections? #206

randyberos opened this issue Aug 29, 2023 · 4 comments

Comments

@randyberos
Copy link

Is it possible to have a collection of collections?

We have a static STAC catalog with a structure similar to below. We would like to migrate this type of structure to PySTAC. I observed that the collections table of pystac does not have a collections column of its own. Is it possible to have a collection that is directly under another collection in PySTAC?

  • Catalog
    • Collection 1
      • Collection 1.a
        • Item
      • Collection 1.b
        • Item
    • Collection 2
@bitner
Copy link
Collaborator

bitner commented Sep 6, 2023

This is currently not possible in pgstac.

@nleconte-csgroup
Copy link

Hey we are also interested in that feature. Do you have an estimate when it'll be available ?

@bitner
Copy link
Collaborator

bitner commented Dec 11, 2023

This is not on the road map right now. I am happy to review any ideas or PRs that implement this. Otherwise, if you have money to fund this we can talk on how we can help you out at Development Seed.

@underchemist
Copy link

@bitner My understanding is that the link object in a collection is not stored when creating a collection, and that the appropriate link such as self, parent are generated when returning json. Would a reasonable starting point be to add a foreign key relation between collections? Are there any immediate pitfalls you see with this?

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

4 participants