Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Update GroundFilter.py
after 3.0 if .las are used also the output will be .las
  • Loading branch information
spono committed Nov 15, 2015
1 parent e6d495a commit c4a6d09
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions python/plugins/processing/algs/lidar/fusion/GroundFilter.py
Expand Up @@ -55,7 +55,7 @@ def processAlgorithm(self, progress):
commands = [os.path.join(FusionUtils.FusionPath(), 'GroundFilter.exe')]
commands.append('/verbose')
self.addAdvancedModifiersToCommand(commands)
outFile = self.getOutputValue(self.OUTPUT) + '.lda'
outFile = self.getOutputValue(self.OUTPUT)
commands.append(unicode(self.getParameterValue(self.CELLSIZE)))
commands.append(outFile)
files = self.getParameterValue(self.INPUT).split(';')
Expand All @@ -65,8 +65,5 @@ def processAlgorithm(self, progress):
FusionUtils.createFileList(files)
commands.append(FusionUtils.tempFileListFilepath())
FusionUtils.runFusion(commands, progress)
commands = [os.path.join(FusionUtils.FusionPath(), 'LDA2LAS.exe')]
commands.append(outFile)
commands.append(self.getOutputValue(self.OUTPUT))
p = subprocess.Popen(commands, shell=True)
p.wait()

0 comments on commit c4a6d09

Please sign in to comment.