Skip to content

Commit

Permalink
[processing] add support for longlong fields in spatial join alg (fix #…
Browse files Browse the repository at this point in the history
…15072)

(cherry picked from commit 87fea73)
  • Loading branch information
alexbruy committed Jun 24, 2016
1 parent 343e177 commit a5392fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/plugins/processing/algs/qgis/SpatialJoin.py
Expand Up @@ -113,7 +113,7 @@ def processAlgorithm(self, progress):
else:
numFields = {}
for j in xrange(len(joinFields)):
if joinFields[j].type() in [QVariant.Int, QVariant.Double]:
if joinFields[j].type() in [QVariant.Int, QVariant.Double, QVariant.LongLong, QVariant.UInt, QVariant.ULongLong]:
numFields[j] = []
for i in sumList:
field = QgsField(i + unicode(joinFields[j].name()), QVariant.Double, '', 24, 16)
Expand Down

0 comments on commit a5392fb

Please sign in to comment.