CQL cannot parse the RELATE function

Description

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),*<b>1</b>***). 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

Environment

None

Assignee

Unassigned

Reporter

codehaus

Triage

None

Components

Fix versions

Affects versions

Priority

Medium
Configure