pygeofilter
pygeofilter copied to clipboard
Support prefixed attribute names in cql2-text and ecql parsing
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.
@constantinius please review