pygeofilter icon indicating copy to clipboard operation
pygeofilter copied to clipboard

Support prefixed attribute names in cql2-text and ecql parsing

Open Ariana-B opened this issue 10 months ago • 1 comments

According to the CQL grammar spec, an attribute name should be allowed to contain a period, such as in the case of properties.eo:cloud_cover. Currently, ecql and cql2-text parsers only support this if the name is in double quotes. Tweak the lark grammars to accept prefixed names without the need for quotes.

Also take the opportunity to add "IS NOT NULL" to cql2-text lark grammar, which seems to have been erroneously omitted.

Ariana-B avatar Apr 05 '24 04:04 Ariana-B

@constantinius please review

Ariana-B avatar Apr 09 '24 01:04 Ariana-B