Warning

This article doesn't seem to reflect reality at all and should probably be deleted.

Selection using a Filter

1. Open the Select View
2. Select a Layer
3. The current Filter is displayed at the top, while the results are displayed in a table

Filter Notation

jrmacgill: note there is a difference in meaning between () and []
jrmacgill: not that there should be… but. I'll explain
jrmacgill: the [] are used to box off filters
jrmacgill: the () are used for expressions
jrmacgill: they are added as it guarantees that the boolean operations will work properly
jrmacgill: it uses too many of them, but I could not be bothered to be smart (yet).
If you take them out then multiple boolen logic operations will work incorrectly
jrmacgill: A AND B OR C
jrmacgill: I just boxed everything so that it is explicit
jrmacgill: [[A AND B] OR C]
jrmacgill: a good number of those square brackets can go, and you don't need them when you
write your own, but the toString plays it safe
jrmacgill: the interesting thing about bbox is that it can take a null for the left hand side
jrmacgill: but the parser can't handle that
jrmacgill: filter = (Filter)ExpressionBuilder.parse("testInteger < 2000"); also works
Jody Garnett: I am getting a null pointer at some point
jrmacgill: thats a miss named variable normalyt
Jody Garnett: I was also trying string EQ = == and so on
jrmacgill: == should work too

(c) Copyright (c) 2004,2005 Refractions Research Inc. and others.