Patch - Partial support for CodeList in Filter (CompareFilter and BetweenFilter) --------------------------------------------------------------------------------
Key: GEOT-1054 URL: http://jira.codehaus.org/browse/GEOT-1054 Project: GeoTools Issue Type: Bug Components: core filter Affects Versions: 2.2.0 Environment: all Reporter: david blasby Attachments: partial_support_for_codelists.patch Currently, there is no support for CodeList (i.e. GeoAPI enumerated values) in Filter. This patch adds support by converting literal strings to the corresponding CodeList object. The implementation is simple, and works quite well. The known problem is if the Filter parser converts objects like "007" to Integer(7) - this causes confusion. This is simple to avoid - don't use numbers as "name" in your CodeList. Properly fixing this would require massive changes to how the parser works and how the filter evaluation works. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Geotools-devel mailing list Geotools-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geotools-devel