Skip to content
Browse files

Regenerate fids for "points along geometry"

Fix #19998
  • Loading branch information
m-kuhn committed Oct 31, 2018
1 parent 1d474d8 commit d7b01dbaada18d38a9f7d245621031c05149dcce
Showing with 1 addition and 1 deletion.
  1. +1 −1 python/plugins/processing/algs/qgis/
@@ -107,7 +107,7 @@ def processAlgorithm(self, parameters, context, feedback):
fields.append(QgsField('angle', QVariant.Double))

(sink, dest_id) = self.parameterAsSink(parameters, self.OUTPUT, context,
fields, QgsWkbTypes.Point, source.sourceCrs())
fields, QgsWkbTypes.Point, source.sourceCrs(), QgsFeatureSink.RegeneratePrimaryKey)
if sink is None:
raise QgsProcessingException(self.invalidSinkError(parameters, self.OUTPUT))

0 comments on commit d7b01db

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