[Mapserver-users] solved: Logical expressions in CLASS EXPRESSION
Stefanie Weykam
sweykam at teleline.es
Tue Jul 27 05:05:43 PDT 2004
This is a multi-part message in MIME format.
------=_NextPart_000_0000_01C473E2.CE5003D0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Big surprise!
I stripped everything down to the very essential, even the comments behind
the EXPRESSION (where I kept all the expressions that I had tried so far) -
and there it was!
Remember:
EXPRESSION ([Riq50] <=1) didn't show while EXPRESSION '1' did
Problem identified:
Any #comment which contains brackets and parenthesis makes the expression
fail (is apparently not understood as comment) unless the expression itself
does not contain any brackets and parenthesis.
For example:
EXPRESSION ([Riq50] >1) # ([Riq50] >1) - fails
and
EXPRESSION ([Riq50] >1) # ('[Utm50km]' = 'VH4') - fails
while
EXPRESSION '1' # ([Riq50] >1) - is OK
and
EXPRESSION ([Riq50] >1) - is OK
In the first two cases there are parenthesis and brackets, both in the
expression and in the comment.
So, this is it. Funny thing.
cheers,
Stefanie
------=_NextPart_000_0000_01C473E2.CE5003D0
Content-Type: application/ms-tnef;
name="winmail.dat"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
filename="winmail.dat"
eJ8+IisMAQaQCAAEAAAAAAABAAEAAQeQBgAIAAAA5AQAAAAAAADoAAEIgAcAGAAAAElQTS5NaWNy
b3NvZnQgTWFpbC5Ob3RlADEIAQ2ABAACAAAAAgACAAEGgAMADgAAANQHBwAbAA4AAgAAAAIADwEB
A5AGAHAHAAAlAAAACwACAAEAAAALACMAAAAAAAMAJgAAAAAACwApAAAAAAADADYAAAAAAB4AcAAB
AAAAMAAAAHNvbHZlZDogTG9naWNhbCBleHByZXNzaW9ucyBpbiBDTEFTUyBFWFBSRVNTSU9OAAIB
cQABAAAAFgAAAAHEc9F71B4K2klPlEykmps7kZVwCqgAAAIBHQwBAAAAGQAAAFNNVFA6U1dFWUtB
TUBURUxFTElORS5FUwAAAAALAAEOAAAAAEAABg4AbJmF0XPEAQIBCg4BAAAAGAAAAA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AeAAgQAQAAAGUAAABCSUdTVVJQUklTRUlTVFJJ
UFBFREVWRVJZVEhJTkdET1dOVE9USEVWRVJZRVNTRU5USUFMLEVWRU5USEVDT01NRU5UU0JFSElO
RFRIRUVYUFJFU1NJT04oV0hFUkVJS0VQVEFMAAAAAGfH
------=_NextPart_000_0000_01C473E2.CE5003D0--
More information about the MapServer-users
mailing list