Skip to content

Commit 87fea73

Browse files
committedJun 24, 2016
[processing] add support for longlong fields in spatial join alg (fix #15072)
1 parent 02a0ebe commit 87fea73

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
@@ -124,7 +124,7 @@ def processAlgorithm(self, progress):
124124
else:
125125
numFields = {}
126126
for j in xrange(len(joinFields)):
127-
if joinFields[j].type() in [QVariant.Int, QVariant.Double]:
127+
if joinFields[j].type() in [QVariant.Int, QVariant.Double, QVariant.LongLong, QVariant.UInt, QVariant.ULongLong]:
128128
numFields[j] = []
129129
for i in sumList:
130130
field = QgsField(i + unicode(joinFields[j].name()), QVariant.Double, '', 24, 16)

0 commit comments

Comments
 (0)
Please sign in to comment.