Add multiparts to single part method
This commit is contained in:
parent
41e8924938
commit
bd6431c912
@ -77,8 +77,11 @@ class ScrubLayer:
|
||||
def merge_layers(self, layers_path, mered_layer_path):
|
||||
pass
|
||||
|
||||
def multipart_to_singleparts(self):
|
||||
pass
|
||||
def multipart_to_singleparts(self, singleparts_layer_path):
|
||||
QgsApplication.processingRegistry().addProvider(QgsNativeAlgorithms())
|
||||
params = {'INPUT': self.layer,
|
||||
'OUTPUT': singleparts_layer_path}
|
||||
processing.run("native:multiparttosingleparts", params)
|
||||
|
||||
def split_layer(self):
|
||||
pass
|
||||
|
Loading…
Reference in New Issue
Block a user