Skip to content
Permalink
Browse files

Fixes error with union function

git-svn-id: http://svn.osgeo.org/qgis/trunk@10420 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
cfarmer
cfarmer committed Mar 26, 2009
1 parent fbe32a7 commit fc199f2760357e9f9df3610862b6bb6c6b002331
Showing with 2 additions and 1 deletion.
  1. +2 −1 python/plugins/fTools/tools/doGeoprocessing.py
@@ -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 )

0 comments on commit fc199f2

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