Skip to content

Commit 2b5ea36

Browse files
committedJul 10, 2015
[processing] fixes for lastools algorithms
by Martin Isenburg
1 parent e3b2a2d commit 2b5ea36

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed
 

‎python/plugins/processing/algs/lidar/lastools/lasmerge.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ def processAlgorithm(self, progress):
8383
commands.append("-i")
8484
commands.append(file7)
8585
self.addParametersFilesAreFlightlinesCommands(commands)
86-
self.addParametersApplyFileSourceIdsCommands(commands)
86+
self.addParametersApplyFileSourceIdCommands(commands)
8787
self.addParametersPointOutputCommands(commands)
8888
self.addParametersAdditionalCommands(commands)
8989

‎python/plugins/processing/algs/lidar/lastools/lasmergePro.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ def processAlgorithm(self, progress):
4444
self.addParametersVerboseCommands(commands)
4545
self.addParametersPointInputFolderCommands(commands)
4646
self.addParametersFilesAreFlightlinesCommands(commands)
47-
self.addParametersApplyFileSourceIdsCommands(commands)
47+
self.addParametersApplyFileSourceIdCommands(commands)
4848
self.addParametersPointOutputCommands(commands)
4949
self.addParametersAdditionalCommands(commands)
5050

‎python/plugins/processing/algs/lidar/lastools/shp2las.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
"""
44
***************************************************************************
5-
las2txt.py
5+
shp2las.py
66
---------------------
77
Date : September 2013
88
Copyright : (C) 2013 by Martin Isenburg
@@ -43,9 +43,9 @@ def defineCharacteristics(self):
4343
self.addParameter(ParameterFile(shp2las.INPUT,
4444
self.tr("Input SHP file")))
4545
self.addParameter(ParameterNumber(shp2las.SCALE_FACTOR_XY,
46-
self.tr("resolution of x and y coordinate"), False, False, 0.01))
46+
self.tr("resolution of x and y coordinate"), 0, None, 0.01))
4747
self.addParameter(ParameterNumber(shp2las.SCALE_FACTOR_Z,
48-
self.tr("resolution of z coordinate"), False, False, 0.01))
48+
self.tr("resolution of z coordinate"), 0, None, 0.01))
4949
self.addParametersPointOutputGUI()
5050
self.addParametersAdditionalGUI()
5151

0 commit comments

Comments
 (0)
Please sign in to comment.