mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-27 00:33:48 -05:00
commit
2192cc7004
@ -383,13 +383,14 @@ class geoprocessingThread( QThread ):
|
||||
inGeom = QgsGeometry( inFeat.geometry() )
|
||||
try:
|
||||
outGeom = inGeom.buffer( float( value ), self.mySegments )
|
||||
try:
|
||||
outFeat.setGeometry( outGeom )
|
||||
outFeat.setAttributes( atMap )
|
||||
writer.addFeature( outFeat )
|
||||
except:
|
||||
FEATURE_EXCEPT = False
|
||||
continue
|
||||
if not outGeom.isGeosEmpty():
|
||||
try:
|
||||
outFeat.setGeometry( outGeom )
|
||||
outFeat.setAttributes( atMap )
|
||||
writer.addFeature( outFeat )
|
||||
except:
|
||||
FEATURE_EXCEPT = False
|
||||
continue
|
||||
except:
|
||||
GEOS_EXCEPT = False
|
||||
continue
|
||||
@ -444,13 +445,14 @@ class geoprocessingThread( QThread ):
|
||||
inGeom = QgsGeometry( inFeat.geometry() )
|
||||
try:
|
||||
outGeom = inGeom.buffer( float( value ), self.mySegments )
|
||||
try:
|
||||
outFeat.setGeometry( outGeom )
|
||||
outFeat.setAttributes( atMap )
|
||||
writer.addFeature( outFeat )
|
||||
except:
|
||||
FEATURE_EXCEPT = False
|
||||
continue
|
||||
if not outGeom.isGeosEmpty():
|
||||
try:
|
||||
outFeat.setGeometry( outGeom )
|
||||
outFeat.setAttributes( atMap )
|
||||
writer.addFeature( outFeat )
|
||||
except:
|
||||
FEATURE_EXCEPT = False
|
||||
continue
|
||||
except:
|
||||
GEOS_EXCEPT = False
|
||||
continue
|
||||
|
Loading…
x
Reference in New Issue
Block a user