[QGIS Commit] r11347 - trunk/qgis/python/plugins/fTools/tools
svn_qgis at osgeo.org
svn_qgis at osgeo.org
Tue Aug 11 18:23:55 EDT 2009
Author: cfarmer
Date: 2009-08-11 18:23:53 -0400 (Tue, 11 Aug 2009)
New Revision: 11347
Modified:
trunk/qgis/python/plugins/fTools/tools/doGeoprocessing.py
Log:
Additional updates to 'Union' geoprocessing tool:Fixes #1865 again, this time properly! Should also fix other complaints regarding missing features in output shapefile.
Modified: trunk/qgis/python/plugins/fTools/tools/doGeoprocessing.py
===================================================================
--- trunk/qgis/python/plugins/fTools/tools/doGeoprocessing.py 2009-08-11 15:29:39 UTC (rev 11346)
+++ trunk/qgis/python/plugins/fTools/tools/doGeoprocessing.py 2009-08-11 22:23:53 UTC (rev 11347)
@@ -1036,6 +1036,14 @@
except:
FEATURE_EXCEPT = False
continue
+ else:
+ try:
+ outFeat.setGeometry( geom )
+ outFeat.setAttributeMap( atMapA )
+ writer.addFeature( outFeat )
+ except:
+ FEATURE_EXCEPT = False
+ continue
except:
GEOS_EXCEPT = False
found = False
More information about the QGIS-commit
mailing list