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

        

------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to