mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-19 00:04:52 -04:00
Merge pull request #2463 from spono/patch-7
[proessing]small correction on FUSION internal commands
This commit is contained in:
commit
ae748d3b7d
@ -51,7 +51,7 @@ class CloudMetrics(FusionAlgorithm):
|
||||
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 @@ class CloudMetrics(FusionAlgorithm):
|
||||
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))
|
||||
|
Loading…
x
Reference in New Issue
Block a user