New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problem with NOT in filters #77
Comments
@ianturton - shouldn't street_class be in square brackets? |
it does as in fact does "street_class" = 8 - is quoting or bracketing attributes required? |
As far as I was aware it should do - https://mapserver.org/mapfile/expressions.html#using-attributes |
@ianturton - hopefully the |
Given a snippet like:
LAYER
TYPE POINT
NAME 'filters_test003'
FILTER (not("roadno" like 'C%') and not("roadno" like 'A%') and not("roadno" like 'B%') and (street_class = 8))
END
Throws this error:
E UnexpectedCharacters: No terminal defined for '=' at line 5 col 115
E
E t("roadno" like 'B%') and (street_class = 8))
E ^
local/lib/python2.7/site-packages/lark/lexer.py:167: UnexpectedCharacters
From my reading of the grammar this should be legal (and our existing mapfile works fine)
The text was updated successfully, but these errors were encountered: