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

Add ItemCollection.to_collection #1254

Open
gadomski opened this issue Oct 4, 2023 · 2 comments
Open

Add ItemCollection.to_collection #1254

gadomski opened this issue Oct 4, 2023 · 2 comments
Milestone

Comments

@gadomski
Copy link
Member

gadomski commented Oct 4, 2023

This would be a nice convenience method that would generate the extents, etc from the items in the ItemCollection.

@jsignell
Copy link
Member

I think of ItemCollections as more analogous to Catalogs than to Collections. I guess I think that because you can represent items from more than one Collection in an ItemCollection. But I guess from pystac's perspective Collections just inherit from Catalogs so maybe it doesn't matter?

@gadomski
Copy link
Member Author

Yeah, I agree with the general point that not all ItemCollections map to a Collection. However, often they do (e.g. a search result), and creating a "sub-collection" (here's a collection that describes my search results) could be of use to some folks?

@jsignell jsignell modified the milestone: 2.0 Nov 17, 2023
@gadomski gadomski added this to the v1.12 milestone Sep 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants