Skip to content

Only support pystac? #223

@gjoseph92

Description

@gjoseph92

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions