On Fri, Mar 25, 2011 at 11:50 AM, LSA <[email protected]> wrote:
> As far as I can see, Geotools 2.6.3 fails to handle filter expressions
> like: (604800*A+ B) > 9.72522753001E8.
>
> However, it handles correctly A > 9.72522753001E8. Maybe due to problem
> in parser in cannot simplify expression on the left?

Are you talking about CQL parsing? CQL by definition can only deal with
expressions in the form:

attribute operator expression

so you cannot parse the expression above because it's invalid.

Try out ECQL, it uses a extended syntax allowing for expressions on both
sides of the operator

Cheers
Andrea


-- 
-------------------------------------------------------
Ing. Andrea Aime
GeoSolutions S.A.S.
Tech lead

Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy

phone: +39 0584 962313
fax:      +39 0584 962313
mob:    +39 333 8128928

http://www.geo-solutions.it
http://geo-solutions.blogspot.com/
http://www.youtube.com/user/GeoSolutionsIT
http://www.linkedin.com/in/andreaaime
http://twitter.com/geowolf

-------------------------------------------------------

------------------------------------------------------------------------------
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to