Skip to content

Commit ae748d3

Browse files
committedNov 27, 2015
Merge pull request #2463 from spono/patch-7
[proessing]small correction on FUSION internal commands
2 parents 5375522 + ea526a2 commit ae748d3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed
 

‎python/plugins/processing/algs/lidar/fusion/CloudMetrics.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ def defineCharacteristics(self):
5151
self.addParameter(ParameterFile(
5252
self.INPUT, self.tr('Input LAS layer')))
5353
self.addOutput(OutputFile(
54-
self.OUTPUT, self.tr('Output file with tabular metric information'), 'dtm'))
54+
self.OUTPUT, self.tr('Output file with tabular metric information'), 'csv'))
5555
above = ParameterString(self.ABOVE, self.tr('Above'), '', False)
5656
above.isAdvanced = True
5757
self.addParameter(above)
@@ -75,10 +75,10 @@ def processAlgorithm(self, progress):
7575
commands.append('/above:' + unicode(above))
7676
firstImpulse = self.getParameterValue(self.FIRSTIMPULSE)
7777
if firstImpulse:
78-
commands.append('/firstinpulse:' + firstImpulse)
78+
commands.append('/firstinpulse')
7979
firstReturn = self.getParameterValue(self.FIRSTRETURN)
8080
if firstReturn:
81-
commands.append('/firstreturn:' + firstReturn)
81+
commands.append('/firstreturn')
8282
htmin = self.getParameterValue(self.HTMIN)
8383
if unicode(htmin).strip() != '':
8484
commands.append('/minht:' + unicode(htmin))

0 commit comments

Comments
 (0)
Please sign in to comment.