Skip to content

Commit

Permalink
Additional updates to 'Union' geoprocessing tool:Fixes #1865 again, t…
Browse files Browse the repository at this point in the history
…his time properly! Should also fix other complaints regarding missing features in output shapefile.

git-svn-id: http://svn.osgeo.org/qgis/trunk@11347 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
cfarmer committed Aug 11, 2009
1 parent 456cef1 commit b5eefa5
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions python/plugins/fTools/tools/doGeoprocessing.py
Expand Up @@ -1036,6 +1036,14 @@ def union( self ):
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
Expand Down

0 comments on commit b5eefa5

Please sign in to comment.