Filter Support for Comparing with Multi-valued Properties
---------------------------------------------------------
Key: GEOT-3576
URL: http://jira.codehaus.org/browse/GEOT-3576
Project: GeoTools
Issue Type: Improvement
Reporter: Niels Charlier
Assignee: Niels Charlier
With Complex Features, there is the possibility of properties evaluating to
multiple values (collections of values) rather than a single value.
It should be possible to apply comparison operators (like "=", "<") and
geometry operators (like overlaps/touches/etc) to multi-valued properties.
However, the current filter system in Geotools assumes a single value for each
property.
Currently in app-schema, a work-around exists for making this work on mapped
feature collections. This work-around only works when the filtering is applied
to the mapping datastore, not when applying filters on already built complex
features. Therefore it does not work in two situations
- in WMS styling files, it doesn't work.
- I am currently creating a new post-filtering system for a performance
improved app-schema and I cannot use the old workaround any more.
Better would be provide proper support for filtering on multiple values in the
actual filters.
I could not find any information on multi-valued properties in the OGC filter
standard. But in XPath, the standard says that when comparing nodes with
multiple values, the result should be the OR-ed aggregation of all possible
combinations. My proposal is that the same principle would be applied to
geotools filters.
--
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
------------------------------------------------------------------------------
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel