mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-13 00:03:09 -04:00
[processing] add support for longlong fields in spatial join alg (fix #15072)
This commit is contained in:
parent
02a0ebe1cf
commit
87fea73647
@ -124,7 +124,7 @@ class SpatialJoin(GeoAlgorithm):
|
||||
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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user