Add stacrs as an optional dependency to search stac-geoparquet
stacrs is a no-dependency Python package that added the ability to search stac-geoparquet in v0.1.3. We could add stacrs as an optional dependency of pystac-client to enable searching stac-geoparquet files.
This was discussed here: https://github.com/stac-utils/stac-rs/issues/462
[!NOTE] I am the author of stacrs so I have some bias.
I like that idea a lot. This feels like the current best practice for querying a static catalog #563
Do you have a sense of what the API should look like for this?
I think the options are either:
- expose a top-level
searchfunction and establish a non-client based access pattern- con: now there are 2 ways to do search in pystac-client
- pro: less setup to do for the simple scenario of an uncomplicated STAC endpoint
- implement a client-like class for interacting with stacrs
- I think this would work better if https://github.com/stac-utils/pystac/issues/1455 happened first
implement a client-like class for interacting with stacrs
I think my vision is things to be as transparent as possible for users — same code could be used to hit an API or hit a stac-geoparquet. So I think option (2), and agreed that the pystac ticket should probably go first.