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

Add stacrs as an optional dependency to search stac-geoparquet #744

Open
gadomski opened this issue Oct 18, 2024 · 3 comments
Open

Add stacrs as an optional dependency to search stac-geoparquet #744

gadomski opened this issue Oct 18, 2024 · 3 comments
Labels
enhancement New feature or request

Comments

@gadomski
Copy link
Member

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: stac-utils/stac-rs#462

Note

I am the author of stacrs so I have some bias.

@jsignell
Copy link
Member

jsignell commented Nov 8, 2024

I like that idea a lot. This feels like the current best practice for querying a static catalog #563

@gadomski gadomski added the enhancement New feature or request label Dec 23, 2024
@jsignell
Copy link
Member

jsignell commented Feb 6, 2025

Do you have a sense of what the API should look like for this?

I think the options are either:

  1. expose a top-level search function 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
  2. implement a client-like class for interacting with stacrs

@gadomski
Copy link
Member Author

gadomski commented Feb 6, 2025

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants