UNCLASSIFIED

Hi,

I've written some code to query a WFS server with a filter. The problem
is that when the PropertyIsLike filter is encoded to XML my matchCase
parameter is ignored. I've tested this problem with GeoTools 2.6.0 and
2.6.1.

I've found a Jira issue for this problem but it doesn't appear to have
any activity. http://jira.codehaus.org/browse/GEOT-2603

Am I doing something wrong? Or is there a fix available?

Code Snippet:
-------------------
import org.opengis.filter.*;

FilterFactory2 ff =
CommonFactoryFinder.getFilterFactory2(GeoTools.getDefaultHints());

Expression property = ff.property( "name"); boolean matchCase = false;
PropertyIsLike filter = ff.like(property, "xyz" ,"*", "?", "!",
matchCase);
-------------------

If this is still a problem I'd be interested in working on it in my
spare time.

Thanks in advance

Andrew Dwyer

IMPORTANT: This email remains the property of the Australian Defence
Organisation and is subject to the jurisdiction of section 70 of the
Crimes Act 1914. If you have received this email in error, you are
requested to contact the sender and delete the email.

------------------------------------------------------------------------------
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to