pgstac icon indicating copy to clipboard operation
pgstac copied to clipboard

Do we have any plan to add filtering criteria to `all_collections` or add another function that can list filtered collections?

Open Geosynopsis opened this issue 1 year ago • 3 comments

Use-Case: Restricting collections based on ACL

The STAC API that implements ACL on top of the collections could use it to provide STAC compliant interface while using pgstac as the backend. Is there any plan for this feature?

Geosynopsis avatar Sep 02 '22 14:09 Geosynopsis

There is no specification in STAC as far as I know for filtering calls to /collections.

You can search items specifying only specific collections using /search?collections=collectiona,collectionb

bitner avatar Sep 07 '22 14:09 bitner

Yes, I understand from the endpoint's point of view. But is it also translatable 1-to-1 to the database functions?

Geosynopsis avatar Sep 08 '22 09:09 Geosynopsis

I do not have any plans for adding this, but i am open to pull requests.

On Thu, Sep 8, 2022, 4:44 AM Abhishek Manandhar @.***> wrote:

Yes, I understand from the endpoint's point of view. But is it also translatable to the database functions?

— Reply to this email directly, view it on GitHub https://github.com/stac-utils/pgstac/issues/139#issuecomment-1240480294, or unsubscribe https://github.com/notifications/unsubscribe-auth/AABIHXER4ZXGX3EN6NL33O3V5GYQFANCNFSM6AAAAAAQDKSSWQ . You are receiving this because you commented.Message ID: @.***>

bitner avatar Sep 08 '22 12:09 bitner