Skip to content
Permalink
Browse files

Fix #10475 (symmetrical difference behaves like difference)

  • Loading branch information
wonder-sk committed Jun 12, 2014
1 parent 023fc00 commit fc8d07ee246d9679e1cd98c5bbc2e4723cb5f765
Showing with 1 addition and 1 deletion.
  1. +1 −1 python/plugins/fTools/tools/doGeoprocessing.py
@@ -1329,7 +1329,7 @@ def symetrical_difference( self ):
geom = QgsGeometry( inFeatA.geometry() )
diff_geom = QgsGeometry( geom )
atMap = inFeatA.attributes()
atMap = dict( zip( range( length, length + len( atMap ) ), atMap ) )
atMap = [ NULL ] * length + atMap
intersects = indexB.intersects( geom.boundingBox() )
for id in intersects:
vproviderA.getFeatures( QgsFeatureRequest().setFilterFid( int( id ) ) ).nextFeature( inFeatB )

0 comments on commit fc8d07e

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