Skip to content
Permalink
Browse files
fix #7179
  • Loading branch information
jef-n committed Feb 19, 2013
1 parent 99dfce1 commit a86622b
Showing 1 changed file with 7 additions and 6 deletions.
@@ -392,12 +392,13 @@ def single_to_multi( self ):
multi_feature.extend( feature_list )
nElement += 1
self.emit( SIGNAL( "runStatus( PyQt_PyObject )" ), nElement )
outFeat.setAttributes( atts )
outGeom = QgsGeometry( self.convertGeometry( multi_feature, vType ) )
if not outGeom.isGeosValid():
allValid = "valid_error"
outFeat.setGeometry( outGeom )
writer.addFeature( outFeat )
if not first:
outFeat.setAttributes( atts )
outGeom = QgsGeometry( self.convertGeometry( multi_feature, vType ) )
if not outGeom.isGeosValid():
allValid = "valid_error"
outFeat.setGeometry( outGeom )
writer.addFeature( outFeat )
del writer
else:
return "attr_error"

0 comments on commit a86622b

Please sign in to comment.