Skip to content

Option to generate summaries for a catalog/collection in CLI #45

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

Closed
cholmes opened this issue Jan 21, 2021 · 0 comments · Fixed by #323
Closed

Option to generate summaries for a catalog/collection in CLI #45

cholmes opened this issue Jan 21, 2021 · 0 comments · Fixed by #323
Labels
cli Command line interface enhancement New feature or request

Comments

@cholmes
Copy link
Contributor

cholmes commented Jan 21, 2021

It'd be great if it was much easier to generate summaries. This is tracked in pystac at stac-utils/pystac#178

In the command line I could see a dedicated 'generate summary' command, that takes a catalog or collection as an argument and updates it to have a summary of all its child elements. It should have an option to generate 'all' (at least the ones that make sense), or take a list of the properties to summarize.

I think it could also make sense to add it as an option to some of the commands, like copy and merge.

We might even consider making summaries default to true, as it's a good practice. Probably should see how they actually work first, as I worry a bit about generating really large summary lists. But once we get some sensible rules in for when/how to generate the summaries (like don't do them if it's more than 5 or 10 distinct values in a property, or only do 'known' STAC extension properties by default) then perhaps we make them default.

@gadomski gadomski added the enhancement New feature or request label Apr 28, 2021
@gadomski gadomski added this to the v0.3.0 milestone Feb 14, 2022
@gadomski gadomski modified the milestones: v0.3.0, v0.3.1 Mar 25, 2022
@gadomski gadomski added the cli Command line interface label Apr 22, 2022
@gadomski gadomski modified the milestones: v0.3.1, v0.3.2 May 4, 2022
@gadomski gadomski modified the milestones: v0.3.2, v0.4.0 Jun 6, 2022
rushgeo added a commit to rushgeo/stactools that referenced this issue Jun 23, 2022
@rushgeo rushgeo mentioned this issue Jun 25, 2022
5 tasks
@gadomski gadomski modified the milestones: v0.4.0, v0.5.0 Aug 1, 2022
@gadomski gadomski linked a pull request Nov 14, 2022 that will close this issue
5 tasks
gadomski pushed a commit to rushgeo/stactools that referenced this issue Dec 15, 2022
@gadomski gadomski removed this from the v0.5.0 milestone Jan 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cli Command line interface enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants