From: S A. (JIRA) <ji...@co...> - 2011-04-28 22:23:28
|
Improper handling of duplicate columns in the ESRI shapefile reader ------------------------------------------------------------------- Key: GEOT-3554 URL: http://jira.codehaus.org/browse/GEOT-3554 Project: GeoTools Issue Type: Bug Components: data shapefile Affects Versions: 2.7.0 Reporter: S Anwar Assignee: Andrea Aime Attachments: gt-2.7.x-shapefile.patch.txt The ShapefileAttributeReader does not properly resolve field names to their indices for duplicate fields. Duplicate fields get the value of geometry due to the fall-through case in the ShapefileAttributeReader. The ShapefileDataStore does assigns the duplicate field a new name, but knowledge of the original field name or the duplicate instance number are not preserved. As a result when the ShapefileAttributeReader tries to resolve field names to their indices, it cannot find the field. The included patch is against branches/2.7.x. -- 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 |