Hello: it looks like a bug. I have registered the following issue
http://jira.codehaus.org/browse/GEOT-3686
Right now, I am installing my computer. I will debug it when I have chance.
cheers
--
Mauricio Pazos
On Thursday, June 30, 2011 05:45:45 PM Matthias Lendholt wrote:
> 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:10
> 6) 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
------------------------------------------------------------------------------
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-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users