[QGIS Commit] r13038 - trunk/qgis/python/plugins/fTools/tools

svn_qgis at osgeo.org svn_qgis at osgeo.org
Tue Mar 9 20:21:07 EST 2010


Author: cfarmer
Date: 2010-03-09 20:21:07 -0500 (Tue, 09 Mar 2010)
New Revision: 13038

Modified:
   trunk/qgis/python/plugins/fTools/tools/doGeoprocessing.py
Log:
Union now supports all vector data types. This has not been extensively tested, and may produce odd results in some cases.


Modified: trunk/qgis/python/plugins/fTools/tools/doGeoprocessing.py
===================================================================
--- trunk/qgis/python/plugins/fTools/tools/doGeoprocessing.py	2010-03-10 01:11:11 UTC (rev 13037)
+++ trunk/qgis/python/plugins/fTools/tools/doGeoprocessing.py	2010-03-10 01:21:07 UTC (rev 13038)
@@ -152,8 +152,8 @@
       myListA = ftools_utils.getLayerNames( [ QGis.Point, QGis.Line, QGis.Polygon ] )
       myListB = ftools_utils.getLayerNames( [ QGis.Polygon ] )
     elif self.myFunction == 7 or self.myFunction == 6:
-      myListA = ftools_utils.getLayerNames( [ QGis.Polygon ] )
-      myListB = ftools_utils.getLayerNames( [ QGis.Polygon ] )
+      myListA = ftools_utils.getLayerNames( [ QGis.Point, QGis.Line, QGis.Polygon ] ) # added points and lines to test
+      myListB = ftools_utils.getLayerNames( [ QGis.Point, QGis.Line, QGis.Polygon ] ) # added points and lines to test
     elif self.myFunction == 4:
       myListA = ftools_utils.getLayerNames( [ QGis.Polygon ] )
       myListB = []



More information about the QGIS-commit mailing list