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

Only support pystac? #223

Open
gjoseph92 opened this issue Sep 19, 2023 · 1 comment
Open

Only support pystac? #223

gjoseph92 opened this issue Sep 19, 2023 · 1 comment

Comments

@gjoseph92
Copy link
Owner

Currently, stackstac supports sat-stac, pystac, and plain lists/dicts in STAC format. My impression is that the community has consolidated around pystac and pystac-client, and sat-stac is not used much anymore. For maintenance, just supporting pystac might make things simpler.

Any thoughts on:

  1. Dropping support for sat-stac
  2. Dropping support for plain Python lists/dicts in STAC format

There's really no urgency to this. I just happened to notice we're still using get_all_tiems() with pystac, which is now deprecated, and thought some of this might be slightly easier to maintain if we weren't supporting as many possible input types.

if isinstance(items, PystacCatalog):
return [item.to_dict() for item in items.get_all_items()]

cc @TomAugspurger @matthewhanson

@TomAugspurger
Copy link
Contributor

TomAugspurger commented Sep 19, 2023 via email

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

2 participants