Skip to content

Commit c4a6d09

Browse files
committed
Update GroundFilter.py
after 3.0 if .las are used also the output will be .las
1 parent e6d495a commit c4a6d09

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

python/plugins/processing/algs/lidar/fusion/GroundFilter.py

+1-4
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ def processAlgorithm(self, progress):
5555
commands = [os.path.join(FusionUtils.FusionPath(), 'GroundFilter.exe')]
5656
commands.append('/verbose')
5757
self.addAdvancedModifiersToCommand(commands)
58-
outFile = self.getOutputValue(self.OUTPUT) + '.lda'
58+
outFile = self.getOutputValue(self.OUTPUT)
5959
commands.append(unicode(self.getParameterValue(self.CELLSIZE)))
6060
commands.append(outFile)
6161
files = self.getParameterValue(self.INPUT).split(';')
@@ -65,8 +65,5 @@ def processAlgorithm(self, progress):
6565
FusionUtils.createFileList(files)
6666
commands.append(FusionUtils.tempFileListFilepath())
6767
FusionUtils.runFusion(commands, progress)
68-
commands = [os.path.join(FusionUtils.FusionPath(), 'LDA2LAS.exe')]
69-
commands.append(outFile)
70-
commands.append(self.getOutputValue(self.OUTPUT))
7168
p = subprocess.Popen(commands, shell=True)
7269
p.wait()

0 commit comments

Comments
 (0)