mtl_gis_oo/scrub_mtl_class.py

48 lines
976 B
Python

from scrub_layer_class import *
from basic_functions import *
class ScrubMTL:
def __init__(self):
pass
def define_input_paths(self):
"""Can be a part of the constructor"""
pass
@staticmethod
def merge_layers(layers_path, mered_layer_path):
merging_layers = find_shp_files(layers_path)
QgsApplication.processingRegistry().addProvider(QgsNativeAlgorithms())
params = {'LAYERS': merging_layers,
'CRS': None,
'OUTPUT': mered_layer_path}
processing.run("native:mergevectorlayers", params)
def generate_output_paths(self):
pass
def initialize_layer(self):
pass
def process_nrcan(self):
pass
def process_geo_index(self):
pass
def process_property_assesment(self):
pass
def refine_heights(self):
pass
def remove_redundant_fields(self):
pass
def remove_records_by_area(self, area_limitation):
"""Area limitation can be assigned in the constructor"""
pass