Skip to content
Permalink
Browse files

[processing] more complete support for int64 fields (follow up 8d2cc88)

  • Loading branch information
alexbruy committed Oct 20, 2016
1 parent 6df926d commit 649d41f1ecd4b8d22110e11cb9e693231bec8ed2
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 == QVariant.Int or selectType == QVariant.LongLong:
if selectType in [QVariant.Int, QVariant.LongLong, QVariant.UInt, QVariant.ULongLong]:
try:
y = int(comparisonvalue)
except ValueError:
@@ -173,7 +173,7 @@ def processAlgorithm(self, progress):
if aValue is None:
continue

if selectType == QVariant.Int or selectType == QVariant.LongLong:
if selectType in [QVariant.Int, QVariant.LongLong, QVariant.UInt, QVariant.ULongLong]:
x = int(aValue)
elif selectType == QVariant.Double:
x = float(aValue)

0 comments on commit 649d41f

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