mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-14 00:07:35 -04:00
Regenerate fids for "join attributes by location", pt2
This commit is contained in:
parent
0a2b0f4115
commit
2df0cae8e3
@ -189,7 +189,7 @@ class SpatialJoin(QgisAlgorithm):
|
||||
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))
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user