Skip to content
Permalink
Browse files

Fix #6063

  • Loading branch information
ddanielvaz committed Jul 14, 2013
1 parent f8e2cac commit 8a50ddb93f4cad0cdf7ff631eef44c60e19ffc68
Showing with 2 additions and 3 deletions.
  1. +2 −3 python/plugins/fTools/tools/doGeoprocessing.py
@@ -468,16 +468,15 @@ def convex_hull(self, useField ):
if useField:
importedField = vproviderA.fields().at( self.myParam )
importedFieldName = importedField.name( )
outFeatFields.append( importedField )
#
outFeatFields.extend( vproviderA.fields() )
# creating area and perimeter fields
areaField = QgsField("area", QVariant.Double)
perimField = QgsField("perim", QVariant.Double)
# appending fields
outFeatFields.append(areaField)
outFeatFields.append(perimField)
#
outFeatFields.extend( vproviderA.fields() )
#
writer = QgsVectorFileWriter( self.myName, self.myEncoding, outFeatFields,
QGis.WKBPolygon, vproviderA.crs() )
if writer.hasError():

0 comments on commit 8a50ddb

Please sign in to comment.
You can’t perform that action at this time.