Skip to content
Permalink
Browse files

Regenerate fids for "join attributes by location", pt2

  • Loading branch information
m-kuhn committed Oct 31, 2018
1 parent 0a2b0f4 commit 2df0cae8e35c49715adea0546a04daa86646d94f
Showing with 1 addition and 1 deletion.
  1. +1 −1 python/plugins/processing/algs/qgis/SpatialJoin.py
@@ -189,7 +189,7 @@ def processAlgorithm(self, parameters, context, feedback):
raise QgsProcessingException(self.invalidSinkError(parameters, self.OUTPUT))

(non_matching_sink, non_matching_dest_id) = self.parameterAsSink(parameters, self.NON_MATCHING, context,
source.fields(), source.wkbType(), source.sourceCrs())
source.fields(), source.wkbType(), source.sourceCrs(), QgsFeatureSink.RegeneratePrimaryKey)
if self.NON_MATCHING in parameters and parameters[self.NON_MATCHING] is not None and non_matching_sink is None:
raise QgsProcessingException(self.invalidSinkError(parameters, self.NON_MATCHING))

0 comments on commit 2df0cae

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