We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c0a247e commit 724bd28Copy full SHA for 724bd28
python/plugins/fTools/tools/doGeoprocessing.py
@@ -1023,9 +1023,8 @@ def union( self ):
1023
try:
1024
if geom.intersects( tmpGeom ):
1025
found = True
1026
- diff_geom = QgsGeometry( geom.difference( tmpGeom ) )#
+ diff_geom = QgsGeometry( geom.difference( tmpGeom ) )
1027
int_geom = QgsGeometry( geom.intersection( tmpGeom ) )
1028
- print "found"
1029
if int_geom.wkbType() == 7:
1030
int_com = geom.combine( tmpGeom )
1031
int_sym = geom.symDifference( tmpGeom )
@@ -1061,7 +1060,7 @@ def union( self ):
1061
1060
if len(intersects) <= 0:
1062
1063
outFeat.setGeometry( diff_geom )
1064
- outFeat.setAttributeMap( atMapA )
+ outFeat.setAttributeMap( atMap )
1065
writer.addFeature( outFeat )
1066
except:
1067
FEATURE_EXCEPT = False
0 commit comments