pystac-client icon indicating copy to clipboard operation
pystac-client copied to clipboard

Collections get_item could also search if supported

Open philvarner opened this issue 3 years ago • 0 comments

Prior to 0.4.0, get_item would try to walk the collection to find the item id requested, which on a large catalog was problematic.

In 0.4.0, it checks if Features is implemented, and uses that API to retrieve it.

If that's not supported, it should also check for STAC API - Item Search, and use the collections and ids parameters to retrieve the Item.

philvarner avatar Jun 08 '22 19:06 philvarner