Skip to content


[processing] fix large points in polygon count overflow by using an i…
Browse files Browse the repository at this point in the history
…nt64 field
  • Loading branch information
nirvn committed Sep 17, 2018
1 parent cf73d56 commit 9f51a4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/plugins/processing/algs/qgis/
Expand Up @@ -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,
Expand Down

0 comments on commit 9f51a4c

Please sign in to comment.