Skip to content
Permalink
Browse files

Update ClipData.py

fixed wrong executable call
  • Loading branch information
spono committed Nov 15, 2015
1 parent e6d495a commit 2fafaacaa3e9a8e8ce42348f1ed66d11b225ede2
Showing with 2 additions and 5 deletions.
  1. +2 −5 python/plugins/processing/algs/lidar/fusion/ClipData.py
@@ -55,7 +55,7 @@ def defineCharacteristics(self):
self.addAdvancedModifiers()

def processAlgorithm(self, progress):
commands = [os.path.join(FusionUtils.FusionPath(), 'FilterData.exe')]
commands = [os.path.join(FusionUtils.FusionPath(), 'ClipData.exe')]
commands.append('/verbose')
self.addAdvancedModifiersToCommand(commands)
commands.append('/shape:' + unicode(self.getParameterValue(self.SHAPE)))
@@ -65,16 +65,13 @@ def processAlgorithm(self, progress):
else:
FusionUtils.createFileList(files)
commands.append(FusionUtils.tempFileListFilepath())
outFile = self.getOutputValue(self.OUTPUT) + '.lda'
outFile = self.getOutputValue(self.OUTPUT)
commands.append(outFile)
extent = unicode(self.getParameterValue(self.EXTENT)).split(',')
commands.append(extent[0])
commands.append(extent[2])
commands.append(extent[1])
commands.append(extent[3])
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 2fafaac

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