-
-
Notifications
You must be signed in to change notification settings - Fork 295
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Description
Inverting conditions in a CQL filter expression with NOT throws an error.
{
"code": "InvalidParameterValue",
"type": "InvalidParameterValue",
"description": "Bad CQL text"
}
Steps to Reproduce
Try the to execute the following query:
https://demo.pygeoapi.io/master/collections/lakes/items?filter=NOT(%20LIKE%20%27%lake%%27)
https://demo.pygeoapi.io/master/collections/lakes/items?filter=NOT%20(name%20LIKE%20%27%lake%%27)
The URL decoded CQL expression is:
NOT(name LIKE '%lake%')
Expected behavior
Inverting conditions with NOT()
should not throw an error.
Environment
- OS: -
- Python version: -
- pygeoapi version: 0.20-dev
Additional context
Add any other context about the problem here.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working