I am wondering if it is possible to extract through CQL all the
features in which an attribute divided by a number returns 0.

After browsing the cql functions I tried something like:

cqlStr = "if_then_else(cat % 2 == 0, true, false)"
Filter cqlFilter = CQL.toFilter(cqlStr);

new Fc = fc.subCollection(cqlFilter);


This abviously doesn't work.
Any idea?

Ciao
Andrea

------------------------------------------------------------------------------
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to