diff --git a/scrub_layer_class.py b/scrub_layer_class.py index 339fbad..ff5b37e 100644 --- a/scrub_layer_class.py +++ b/scrub_layer_class.py @@ -69,6 +69,9 @@ class ScrubLayer: QgsProject.instance().addMapLayer(the_layer) return the_layer + def features_to_layers(self): + pass + def fix_geometries(self, fixed_layer): QgsApplication.processingRegistry().addProvider(QgsNativeAlgorithms()) fix_geometries_params = { @@ -115,6 +118,9 @@ class ScrubLayer: processing.run("native:clip", clip_layer_params) print(f'Clipping of {self.layer_name} is completed.') + def clip_by_predefined_zones(self): + pass + def clip_by_multiple(self, number_of_partitions, overlay_layers_dir, clipped_layers_dir): create_folders(clipped_layers_dir, number_of_partitions) for layer in range(number_of_partitions):