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 STAC API Filter Extension (CQL2) support #72

Open
matthewhanson opened this issue Apr 7, 2021 · 1 comment
Open

Add STAC API Filter Extension (CQL2) support #72

matthewhanson opened this issue Apr 7, 2021 · 1 comment
Assignees
Labels
large Effort

Comments

@matthewhanson
Copy link
Member

matthewhanson commented Apr 7, 2021

The conformance classes Basic CQL2 and Basic Spatial Operators should be implemented. Basic CQL2 allows the logical operators (AND, OR, NOT), comparison operators (=, <>, <, <=, >, >=), and IS NULL against string, numeric, boolean, date, and datetime types. Basic Spatial Operators allows S_INTERSECTS (spatial intersects) on geometry fields.

Stretch: Advanced Comparison Operators defines the LIKE, BETWEEN, and IN operators, though BETWEEN and IN can be be written less-concisely using comparisons AND'ed or OR'ed together. LIKE cannot (practically) be worked-around this way.

Other implementations:

  • pgstac - most up-to-date one
  • Pygeoap - might be out of date wrt the latest spec

Open Questions:

  • CQL2-Text and/or CQL2-JSON?
  • which conformance classes?
@matthewhanson matthewhanson added this to the 0.4.0 milestone Apr 7, 2021
@matthewhanson matthewhanson modified the milestones: 0.4.0, 0.3.0 May 17, 2021
@matthewhanson matthewhanson modified the milestones: 0.3.0, 0.4.0 Jun 8, 2021
@demiurg demiurg self-assigned this Jun 8, 2021
@matthewhanson matthewhanson added the large Effort label Jan 24, 2022
@philvarner philvarner changed the title Add CQL support Add STAC API Filter Extension (CQL2) support Feb 15, 2022
@matthewhanson matthewhanson modified the milestones: 0.4.0, 0.5.0 Feb 15, 2022
@matthewhanson matthewhanson removed this from the 0.5.0 milestone Mar 8, 2022
@pjhartzell pjhartzell mentioned this issue Jan 14, 2025
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
large Effort
Projects
None yet
Development

No branches or pull requests

2 participants