[QGIS-trac] [Quantum GIS] #3137: Save as shapefile fails if field names are longer than 10 characters

Quantum GIS qgis at qgis.org
Wed Oct 20 03:37:00 EDT 2010


#3137: Save as shapefile fails if field names are longer than 10 characters
------------------------------------------------+---------------------------
   Reporter:  pcav                              |              Owner:  nobody       
       Type:  bug                               |             Status:  new          
   Priority:  major: does not work as expected  |          Milestone:  Version 1.6.0
  Component:  Data Provider                     |            Version:               
   Keywords:                                    |   Platform_version:               
   Platform:  All                               |           Must_fix:  No           
Status_info:  0                                 |  
------------------------------------------------+---------------------------
 If I try to save the attached MapInfo file, I get:
 {{{
 Export to vector file failed.
 Error: trimming attribute name 'PM10_AVG_max' to ten significant
 characters produces duplicate column name.
 }}}
 and export fails. It seems a limitation of OGR, but perhaps we could be
 smarter and replace the last character with a serial.
 Otherwise better forward this ticket to GDAL trac?

-- 
Ticket URL: <https://trac.osgeo.org/qgis/ticket/3137>
Quantum GIS <http://qgis.org>
Quantum GIS is an Open Source GIS viewer/editor supporting OGR, PostGIS, and GRASS formats


More information about the QGIS-trac mailing list