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):
|
def merge_layers(self, layers_path, mered_layer_path):
|
||||||
pass
|
pass
|
||||||
|
|
||||||
def multipart_to_singleparts(self):
|
def multipart_to_singleparts(self, singleparts_layer_path):
|
||||||
pass
|
QgsApplication.processingRegistry().addProvider(QgsNativeAlgorithms())
|
||||||
|
params = {'INPUT': self.layer,
|
||||||
|
'OUTPUT': singleparts_layer_path}
|
||||||
|
processing.run("native:multiparttosingleparts", params)
|
||||||
|
|
||||||
def split_layer(self):
|
def split_layer(self):
|
||||||
pass
|
pass
|
||||||
|
|
Loading…
Reference in New Issue
Block a user