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:
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.
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:
Expected behavior
Inverting conditions with
NOT()should not throw an error.Environment
Additional context
Add any other context about the problem here.