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 bb0350e commit 10fb944ff903381d067a4cb38687a0fc65f49ba3
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 10fb944

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