Skip to content
Permalink
Browse files

Ensure LAS is always capitalized (fix #12012)

  • Loading branch information
nyalldawson committed Jul 13, 2015
1 parent d36cd02 commit 364df903032d8877558b697f1b1cae29e3b840bf
@@ -56,7 +56,7 @@ def defineCharacteristics(self):
self.name = 'Canopy Model'
self.group = 'Points'
self.addParameter(ParameterFile(
self.INPUT, self.tr('Input las layer')))
self.INPUT, self.tr('Input LAS layer')))
self.addParameter(ParameterNumber(
self.CELLSIZE, self.tr('Cellsize'), 0, None, 10.0))
self.addParameter(ParameterSelection(
@@ -44,7 +44,7 @@ def defineCharacteristics(self):
self.name = 'Catalog'
self.group = 'Points'
self.addParameter(ParameterFile(
self.INPUT, self.tr('Input las layer')))
self.INPUT, self.tr('Input LAS layer')))
self.addOutput(OutputFile(self.OUTPUT, self.tr('Output files')))
density = ParameterString(
self.DENSITY,
@@ -46,12 +46,12 @@ def defineCharacteristics(self):
self.name = 'Clip Data'
self.group = 'Points'
self.addParameter(ParameterFile(
self.INPUT, self.tr('Input las layer')))
self.INPUT, self.tr('Input LAS layer')))
self.addParameter(ParameterExtent(self.EXTENT, self.tr('Extent')))
self.addParameter(ParameterSelection(
self.SHAPE, self.tr('Shape'), ['Rectangle', 'Circle']))
self.addOutput(OutputFile(
self.OUTPUT, self.tr('Output clipped las file')))
self.OUTPUT, self.tr('Output clipped LAS file')))
self.addAdvancedModifiers()

def processAlgorithm(self, progress):
@@ -49,7 +49,7 @@ def defineCharacteristics(self):
self.name = 'Cloud Metrics'
self.group = 'Points'
self.addParameter(ParameterFile(
self.INPUT, self.tr('Input las layer')))
self.INPUT, self.tr('Input LAS layer')))
self.addOutput(OutputFile(
self.OUTPUT, self.tr('Output file with tabular metric information'), 'dtm'))
above = ParameterString(self.ABOVE, self.tr('Above'), '', False)
@@ -50,7 +50,7 @@ def defineCharacteristics(self):
self.name = 'Cover'
self.group = 'Points'
self.addParameter(ParameterFile(
self.INPUT, self.tr('Input las layer')))
self.INPUT, self.tr('Input LAS layer')))
self.addParameter(ParameterFile(
self.GROUND, self.tr('Input ground DTM layer')))
self.addParameter(ParameterNumber(
@@ -46,13 +46,13 @@ def defineCharacteristics(self):
self.name = 'Filter Data outliers'
self.group = 'Points'
self.addParameter(ParameterFile(
self.INPUT, self.tr('Input las layer')))
self.INPUT, self.tr('Input LAS layer')))
self.addParameter(ParameterNumber(
self.VALUE, self.tr('Standard Deviation multiplier')))
self.addParameter(ParameterNumber(
self.VALUE, self.tr('Window size'), None, None, 10))
self.addOutput(OutputFile(
self.OUTPUT, self.tr('Output filtered las file')))
self.OUTPUT, self.tr('Output filtered LAS file')))
self.addAdvancedModifiers()

def processAlgorithm(self, progress):
@@ -43,7 +43,7 @@ class FirstLastReturn(FusionAlgorithm):
def defineCharacteristics(self):
self.name = 'First&Last Return'
self.group = 'Points'
self.addParameter(ParameterFile(self.INPUT, self.tr('Input .las')))
self.addParameter(ParameterFile(self.INPUT, self.tr('Input LAS layer')))
self.addParameter(ParameterBoolean(
self.SWITCH, self.tr('Use LAS info'), True))
self.addOutput(OutputFile(self.OUTPUT, self.tr('Output layers')))
@@ -56,7 +56,7 @@ def defineCharacteristics(self):
self.name = 'Grid Metrics'
self.group = 'Points'
self.addParameter(ParameterFile(
self.INPUT, self.tr('Input las layer')))
self.INPUT, self.tr('Input LAS layer')))
self.addParameter(ParameterFile(
self.GROUND, self.tr('Input ground DTM layer')))
self.addParameter(ParameterNumber(
@@ -58,7 +58,7 @@ def defineCharacteristics(self):
self.name = 'Grid Surface Create'
self.group = 'Surface'
self.addParameter(ParameterFile(
self.INPUT, self.tr('Input las layer')))
self.INPUT, self.tr('Input LAS layer')))
self.addParameter(ParameterNumber(
self.CELLSIZE, self.tr('Cellsize'), 0, None, 10.0))
self.addParameter(ParameterSelection(
@@ -44,11 +44,11 @@ def defineCharacteristics(self):
self.name = 'Ground Filter'
self.group = 'Points'
self.addParameter(ParameterFile(
self.INPUT, self.tr('Input las layer')))
self.INPUT, self.tr('Input LAS layer')))
self.addParameter(ParameterNumber(self.CELLSIZE,
self.tr('Cellsize for intermediate surfaces'), 0, None, 10))
self.addOutput(OutputFile(
self.OUTPUT, self.tr('Output ground las file')))
self.OUTPUT, self.tr('Output ground LAS file')))
self.addAdvancedModifiers()

def processAlgorithm(self, progress):
@@ -47,10 +47,10 @@ def defineCharacteristics(self):
self.name = 'Poly Clip Data'
self.group = 'Points'
self.addParameter(ParameterFile(
self.INPUT, self.tr('Input .las layer')))
self.INPUT, self.tr('Input LAS layer')))
self.addParameter(ParameterFile(self.MASK, self.tr('Mask layer')))
self.addOutput(OutputFile(self.OUTPUT,
self.tr('Output clipped .las file'), 'las'))
self.tr('Output clipped LAS file'), 'las'))
self.addParameter(ParameterBoolean(self.SHAPE,
self.tr('Use Shape attribute'), False))
## 'field' e 'value' box should appear or get activated if Shape attribute is switched ON
@@ -47,7 +47,7 @@ def defineCharacteristics(self):
self.name = 'Tin Surface Create'
self.group = 'Surface'
self.addParameter(ParameterFile(
self.INPUT, self.tr('Input las layer')))
self.INPUT, self.tr('Input LAS layer')))
self.addParameter(ParameterNumber(self.CELLSIZE,
self.tr('Cellsize'), 0, None, 10.0))
self.addParameter(ParameterSelection(self.XYUNITS,

0 comments on commit 364df90

Please sign in to comment.
You can’t perform that action at this time.