Skip to content

Commit a5392fb

Browse files
committed
[processing] add support for longlong fields in spatial join alg (fix #15072)
(cherry picked from commit 87fea73)
1 parent 343e177 commit a5392fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/plugins/processing/algs/qgis/SpatialJoin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ def processAlgorithm(self, progress):
113113
else:
114114
numFields = {}
115115
for j in xrange(len(joinFields)):
116-
if joinFields[j].type() in [QVariant.Int, QVariant.Double]:
116+
if joinFields[j].type() in [QVariant.Int, QVariant.Double, QVariant.LongLong, QVariant.UInt, QVariant.ULongLong]:
117117
numFields[j] = []
118118
for i in sumList:
119119
field = QgsField(i + unicode(joinFields[j].name()), QVariant.Double, '', 24, 16)

0 commit comments

Comments
 (0)