Skip to content

Commit 242c315

Browse files
author
cfarmer
committed
fixes problem with output type when using multipart to singleparts tool. Thanks to Luiz Motta for the fix.
git-svn-id: http://svn.osgeo.org/qgis/trunk@15451 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent 489e34b commit 242c315

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/plugins/fTools/tools/doGeometry.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -355,7 +355,7 @@ def multi_to_single( self ):
355355
vprovider.select( allAttrs )
356356
fields = vprovider.fields()
357357
writer = QgsVectorFileWriter( self.myName, self.myEncoding,
358-
fields, vprovider.geometryType(), vprovider.crs() )
358+
fields, vprovider.geometryType()-3, vprovider.crs() )
359359
inFeat = QgsFeature()
360360
outFeat = QgsFeature()
361361
inGeom = QgsGeometry()

0 commit comments

Comments
 (0)