Skip to content
Permalink
Browse files

Regenerate fids for "points along geometry"

Fix #19998
  • Loading branch information
m-kuhn committed Oct 31, 2018
1 parent f8d873c commit d0eeffbecb01000bd463351bd7845d6dd074a3c0
Showing with 1 addition and 1 deletion.
  1. +1 −1 python/plugins/processing/algs/qgis/PointsAlongGeometry.py
@@ -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 d0eeffb

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