Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #2463 from spono/patch-7
[proessing]small correction on FUSION internal commands
  • Loading branch information
volaya committed Nov 27, 2015
2 parents 5375522 + ea526a2 commit ae748d3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions python/plugins/processing/algs/lidar/fusion/CloudMetrics.py
Expand Up @@ -51,7 +51,7 @@ def defineCharacteristics(self):
self.addParameter(ParameterFile(
self.INPUT, self.tr('Input LAS layer')))
self.addOutput(OutputFile(
self.OUTPUT, self.tr('Output file with tabular metric information'), 'dtm'))
self.OUTPUT, self.tr('Output file with tabular metric information'), 'csv'))
above = ParameterString(self.ABOVE, self.tr('Above'), '', False)
above.isAdvanced = True
self.addParameter(above)
Expand All @@ -75,10 +75,10 @@ def processAlgorithm(self, progress):
commands.append('/above:' + unicode(above))
firstImpulse = self.getParameterValue(self.FIRSTIMPULSE)
if firstImpulse:
commands.append('/firstinpulse:' + firstImpulse)
commands.append('/firstinpulse')
firstReturn = self.getParameterValue(self.FIRSTRETURN)
if firstReturn:
commands.append('/firstreturn:' + firstReturn)
commands.append('/firstreturn')
htmin = self.getParameterValue(self.HTMIN)
if unicode(htmin).strip() != '':
commands.append('/minht:' + unicode(htmin))
Expand Down

0 comments on commit ae748d3

Please sign in to comment.