Loading [MathJax]/extensions/tex2jax.js
gmpLineMerge Class Reference
+ Inheritance diagram for gmpLineMerge:

Public Member Functions

def merging (self, line, line2, firstLineStarts=True, interpolationMethod="rampedMean", lineEndMerged=False, circular_merge=False)
 The main compact merging function of gmpLineMerge which combines the functions defined in this script outside the gmpLineMerge class. More...
 
def meets_criteria (self, line)
 

Public Attributes

 logger
 
 workODM_dir
 

Static Public Attributes

 brief
 
 description
 

Member Function Documentation

◆ merging()

def merging (   self,
  line,
  line2,
  firstLineStarts = True,
  interpolationMethod = "rampedMean",
  lineEndMerged = False,
  circular_merge = False 
)

The main compact merging function of gmpLineMerge which combines the functions defined in this script outside the gmpLineMerge class.

Args: line: pyDM.Polyline, the first line line2: pyDM.Polyline, the second line firstLineStarts: Boolean, whether or not the first line starts interpolationMethod: str, either "linear" or "rampedMean" lineEndMerged: Bool, whether or not one line end has already been merged. circular_merge: Bool, whether or not a circular merge needs to be performed

Returns: Tuple containing the merged line, the lines that were used for merging, possible error message and the LineMerger Instance for values concerning quality checks

References LineMerger.dLength, python.workflows.gmpLineMerge.find_lines_at_ends(), preAttribute.infile, _setCRS.infile, clfTreeModelApply.infile, preOutlierDetection.infile, clfCreateTrainingPatches.infile, forTopHeight.infile, clfTreeModelTrain.infile, clfSCNNTrain.infile, preCalcFootprint.infile, _import.logger, _overlap.logger, _bounds.logger, local.logger, _export.logger, Dispatcher.logger, forTreeDetection.logger, _grid.logger, tileManager.logger, _validateCRS.logger, _setCRS.logger, clfTreeModelApply.logger, forBiomass.logger, forDSM.logger, distributedBase.logger, clfCreateTrainingPatches.logger, forCrownCoverage.logger, forTopHeight.logger, clfTreeModelTrain.logger, clfSCNNTrain.logger, gmpLineMerge.logger, forDelineation.logger, LineMerger.meanDist, gmpLineMerge.meets_criteria(), gmpLineMerge.merging(), _export.outfile, qltDSM.outfile, qltLSM.outfile, forTreeDetection.outfile, Kernel.outfile, opalsHelios.outfile, preCalcFootprint.outfile, and gmpLineMerge.workODM_dir.

Referenced by gmpLineMerge.merging().