[QGIS-trac] [Quantum GIS] #3373: fTools buffer geoprocessing error with certain data

Quantum GIS qgis at qgis.org
Tue Dec 28 13:54:53 EST 2010


#3373: fTools buffer geoprocessing error with certain data
--------------------------------+-------------------------------------------
   Reporter:  samrae29          |              Owner:  cfarmer      
       Type:  patch             |             Status:  new          
   Priority:  minor: annoyance  |          Milestone:  Version 1.7.0
  Component:  Vectors           |            Version:  1.6.0        
   Keywords:  fTools            |   Platform_version:               
   Platform:  Debian            |           Must_fix:  Yes          
Status_info:  0                 |  
--------------------------------+-------------------------------------------
 Buffering fails if shapefile has two columns with the same name.  This
 error did not occur in previous QGIS releases (v1.2 ?), but has been found
 in QGIS 1.6.

 Steps:
 1. Open buffer(s) dialog: Vector > Geoprocessing tools > Buffer(s)
 2. Input vector layer selected has two columns with the identical column
 name.
 3. Choose output file and buffer distance e.g. 0.0005, and leave other
 defaults.
 4. For "Would you like to add the new layer to TOC?", click Yes
 5. Geoprocessing dialog then returns:
 Error loadings output shape files
 C:/QuantumGIS-1.6/foo.shp

 Ticket request:
 1. Short-term. A more user-friendly error message explaining that there is
 a problem with duplicate column names
 2. Buffer tool to handle shapefiles with duplicate column names?

 Submitted by: sam at linfiniti.com (irc: samrae)

-- 
Ticket URL: <https://trac.osgeo.org/qgis/ticket/3373>
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