CQL cannot parse the RELATE function
------------------------------------
Key: GEOT-3686
URL: https://jira.codehaus.org/browse/GEOT-3686
Project: GeoTools
Issue Type: Bug
Components: cql
Affects Versions: 8.0-M0
Reporter: Mauricio Pazos
Assignee: Mauricio Pazos
yeah, thanks. I already trid it, but I still get this exception. The
second geometry (WKT) is not accepted.
Caused by: org.geotools.filter.text.cql2.CQLException: Encountered
"LINESTRING" at line 1, column 25.
Was expecting one of:
<STRING_LITERAL> ...
"true" ...
"false" ...
"(" ...
"[" ...
<INTEGER_LITERAL> ...
<FLOATING_LITERAL> ...
<IDENTIFIER> ...
. Parsing : relatePattern(the_geom, LINESTRING (27.3 37, 27.3
37.6),***1*****). Current Token : ","
at
org.geotools.filter.text.cql2.CQLCompiler.compileFilter(CQLCompiler.java:106)
at
org.geotools.filter.text.commons.CompilerUtil.parseFilter(CompilerUtil.java:194)
at org.geotools.filter.text.cql2.CQL.toFilter(CQL.java:131)
at org.geotools.filter.text.cql2.CQL.toFilter(CQL.java:110)
at ...
org.geotools.filter.text.generated.parsers.CQLParser is not part of
geotools-2.6.5-project.zip and therefore I cannot debug it.
I tested other functions and they work:
intersects(the_geom, LINESTRING (27.3 37, 27.3 37.6)) works...
Cheers, Matthias
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
threats, fraudulent activity, and more. Splunk takes this data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel