Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

CQL2 and filter lists #670

Open
aaime opened this issue Feb 2, 2022 · 1 comment
Open

CQL2 and filter lists #670

aaime opened this issue Feb 2, 2022 · 1 comment
Labels
CQL2 Future work support in an additional part of OGC API Features

Comments

@aaime
Copy link
Contributor

aaime commented Feb 2, 2022

In GeoServer own Extended CQL we have the ability to express a list of filters, separated by semicolon, e.g:

...&CQL_FILTER=persons>1000;quality='good'

This is used in combination with requests accessing multiple layers, e..g, GetMap, so that we can filter each layer in a different way.

I suppose having a similar capability would be interesting for OGC API operations against multiple collections as well. Has any thought been given to this scenario?

@aaime
Copy link
Contributor Author

aaime commented Feb 3, 2022

As a related note... in a list of filters, matching 1-1 a list of collections, there might be a need to just accept everything from one of the collections, and maybe drop everything from another.

In GeoServer ECQL we have two dedicated predicates, "INCLUDES" accepting everything, "EXCLUDES" excluding everything, for this purpose.
In ECQL2 maybe "true" and "false" could be also considered predicates (the "static" predicate if you want) to address the same need.

Of course, this would be needed only if there is also a need for a list of filters, to start with.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
CQL2 Future work support in an additional part of OGC API Features
Development

No branches or pull requests

2 participants