[QGIS Commit] r10420 - trunk/qgis/python/plugins/fTools/tools
svn_qgis at osgeo.org
svn_qgis at osgeo.org
Thu Mar 26 13:48:06 EDT 2009
Author: cfarmer
Date: 2009-03-26 13:48:06 -0400 (Thu, 26 Mar 2009)
New Revision: 10420
Modified:
trunk/qgis/python/plugins/fTools/tools/doGeoprocessing.py
Log:
Fixes error with union function
Modified: trunk/qgis/python/plugins/fTools/tools/doGeoprocessing.py
===================================================================
--- trunk/qgis/python/plugins/fTools/tools/doGeoprocessing.py 2009-03-26 15:11:57 UTC (rev 10419)
+++ trunk/qgis/python/plugins/fTools/tools/doGeoprocessing.py 2009-03-26 17:48:06 UTC (rev 10420)
@@ -605,8 +605,9 @@
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 )
More information about the QGIS-commit
mailing list