Skip to content

Use of NOT in advanced comparison operators throws error #473

Open
@philvarner

Description

@philvarner

The NOT operator can be used with all of the advanced comparison operators (https://github.com/opengeospatial/ogcapi-features/blob/master/cql2/standard/annex_ats_advanced-comparison-operators.adoc) like "NOT BETWEEN", "NOT LIKE", or "NOT IN"

Queries like eo:cloud_cover NOT BETWEEN 0 AND 50 and collection NOT LIKE 'sent%' throw an exception like Unexpected token Token('NOT', 'NOT') at line 1, column 16.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingspecCompliance with STAC/OGC specifications

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions