GroupingFeatureIterator creates feature attributes in wrong order, does not
respecting schema
---------------------------------------------------------------------------------------------
Key: GEOT-778
URL: http://jira.codehaus.org/browse/GEOT-778
Project: GeoTools
Type: Bug
Components: complex
Reporter: Gabriel Roldán
Assigned to: Gabriel Roldán
GroupingFeatureIterator takes care of taking a set of grouping attributes,
assigning a single value to the target feature for each of them, and a set of
non grouping attributes, creating multiple values of each one for the target
feature.
The problem is that the attribute order declared by the schema is not being
respected.
More specifically, the order to be respected is the order declared by the
attribute mappings. That is, a series of target xpath attributes and source
expressions that are evaluated in the declared order when creating the
derivated feature.
Due to that, a feature that has to be, for example, [site_name,
measurement[...], location], is [site_name, location, measurement[...]]
The effect is that non grouping attributes are appended always after the
grouping ones, breaking schema adherence.
--
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
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id865&op=click
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel