Skip to content

Commit

Permalink
Merge pull request #2467 from spono/patch-11
Browse files Browse the repository at this point in the history
[Processing] Update Cover.py
  • Loading branch information
volaya committed Dec 15, 2015
2 parents 34ccc34 + d4ba0c7 commit 7f3cc35
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion python/plugins/processing/algs/lidar/fusion/Cover.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ def processAlgorithm(self, progress):
commands.append('/ground:' + unicode(ground))
outFile = self.getOutputValue(self.OUTPUT) + '.dtm'
commands.append(outFile)
commands.append(unicode(self.getParameterValue(self.HEIGHTBREAK)))
commands.append(unicode(self.getParameterValue(self.CELLSIZE)))
commands.append(self.UNITS[self.getParameterValue(self.XYUNITS)][0])
commands.append(self.UNITS[self.getParameterValue(self.ZUNITS)][0])
Expand All @@ -87,7 +88,7 @@ def processAlgorithm(self, progress):
FusionUtils.createFileList(files)
commands.append(FusionUtils.tempFileListFilepath())
FusionUtils.runFusion(commands, progress)
commands = [os.path.join(FusionUtils.FusionPath(), 'DTM2TIF.exe')]
commands = [os.path.join(FusionUtils.FusionPath(), 'DTM2ASCII.exe')]
commands.append(outFile)
commands.append(self.getOutputValue(self.OUTPUT))
p = subprocess.Popen(commands, shell=True)
Expand Down

0 comments on commit 7f3cc35

Please sign in to comment.