Skip to content
Permalink
Browse files

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 ae748d3b7dbc230b739344e08bb31f11171f39e7
Showing with 3 additions and 3 deletions.
  1. +3 −3 python/plugins/processing/algs/lidar/fusion/CloudMetrics.py
@@ -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)
@@ -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))

0 comments on commit ae748d3

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