Skip to content
Permalink
Browse files

Fixing issue with 'Eliminate sliver polygons' and fields of type long.

(cherry picked from commit be25a29)
  • Loading branch information
gacarrillor authored and alexbruy committed Oct 20, 2016
1 parent 57b4061 commit e64a96f55de3f1a0ce03f0a93abcb7a9d7feea1a
Showing with 2 additions and 2 deletions.
  1. +2 −2 python/plugins/processing/algs/qgis/Eliminate.py
@@ -113,7 +113,7 @@ def processAlgorithm(self, progress):
selectType = processLayer.fields()[selectindex].type()
selectionError = False

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

if selectType == 2:
if selectType == 2 or selectType == 4:
x = int(aValue)
elif selectType == 6:
x = float(aValue)

0 comments on commit e64a96f

Please sign in to comment.
You can’t perform that action at this time.