Skip to content

Commit

Permalink
Fixes error with union function
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk@10420 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
cfarmer committed Mar 26, 2009
1 parent fbe32a7 commit fc199f2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion python/plugins/fTools/tools/doGeoprocessing.py
Original file line number Diff line number Diff line change
Expand Up @@ -605,8 +605,9 @@ def union( self ):
try:
if geom.intersects( tmpGeom ):
found = True
diff_geom = QgsGeometry( diff_geom.difference( tmpGeom ) )
diff_geom = QgsGeometry( geom.difference( tmpGeom ) )#
int_geom = QgsGeometry( geom.intersection( tmpGeom ) )
print "found"
if int_geom.wkbType() == 7:
int_com = geom.combine( tmpGeom )
int_sym = geom.symDifference( tmpGeom )
Expand Down

0 comments on commit fc199f2

Please sign in to comment.