Skip to content
Permalink
Browse files

[processing] fix large points in polygon count overflow by using an i…

…nt64 field
  • Loading branch information
nirvn committed Sep 17, 2018
1 parent cf73d56 commit 9f51a4c7d1b22a1d214fa24ec58dbb40696b630c
Showing with 1 addition and 1 deletion.
  1. +1 −1 python/plugins/processing/algs/qgis/PointsInPolygon.py
@@ -117,7 +117,7 @@ def processAlgorithm(self, parameters, context, feedback):

fields = poly_source.fields()
if fields.lookupField(field_name) < 0:
fields.append(QgsField(field_name, QVariant.Int))
fields.append(QgsField(field_name, QVariant.LongLong))
field_index = fields.lookupField(field_name)

(sink, dest_id) = self.parameterAsSink(parameters, self.OUTPUT, context,

0 comments on commit 9f51a4c

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