Skip to content

Commit e64a96f

Browse files
gacarrilloralexbruy
authored andcommittedOct 20, 2016
Fixing issue with 'Eliminate sliver polygons' and fields of type long.
(cherry picked from commit be25a29)
1 parent 57b4061 commit e64a96f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎python/plugins/processing/algs/qgis/Eliminate.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ def processAlgorithm(self, progress):
113113
selectType = processLayer.fields()[selectindex].type()
114114
selectionError = False
115115

116-
if selectType == 2:
116+
if selectType == 2 or selectType == 4:
117117
try:
118118
y = int(comparisonvalue)
119119
except ValueError:
@@ -173,7 +173,7 @@ def processAlgorithm(self, progress):
173173
if aValue is None:
174174
continue
175175

176-
if selectType == 2:
176+
if selectType == 2 or selectType == 4:
177177
x = int(aValue)
178178
elif selectType == 6:
179179
x = float(aValue)

0 commit comments

Comments
 (0)
Please sign in to comment.