Skip to content

Commit

Permalink
[processing] fixes for lastools algorithms
Browse files Browse the repository at this point in the history
by Martin Isenburg
  • Loading branch information
volaya committed Jul 10, 2015
1 parent e3b2a2d commit 2b5ea36
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion python/plugins/processing/algs/lidar/lastools/lasmerge.py
Expand Up @@ -83,7 +83,7 @@ def processAlgorithm(self, progress):
commands.append("-i")
commands.append(file7)
self.addParametersFilesAreFlightlinesCommands(commands)
self.addParametersApplyFileSourceIdsCommands(commands)
self.addParametersApplyFileSourceIdCommands(commands)
self.addParametersPointOutputCommands(commands)
self.addParametersAdditionalCommands(commands)

Expand Down
Expand Up @@ -44,7 +44,7 @@ def processAlgorithm(self, progress):
self.addParametersVerboseCommands(commands)
self.addParametersPointInputFolderCommands(commands)
self.addParametersFilesAreFlightlinesCommands(commands)
self.addParametersApplyFileSourceIdsCommands(commands)
self.addParametersApplyFileSourceIdCommands(commands)
self.addParametersPointOutputCommands(commands)
self.addParametersAdditionalCommands(commands)

Expand Down
6 changes: 3 additions & 3 deletions python/plugins/processing/algs/lidar/lastools/shp2las.py
Expand Up @@ -2,7 +2,7 @@

"""
***************************************************************************
las2txt.py
shp2las.py
---------------------
Date : September 2013
Copyright : (C) 2013 by Martin Isenburg
Expand Down Expand Up @@ -43,9 +43,9 @@ def defineCharacteristics(self):
self.addParameter(ParameterFile(shp2las.INPUT,
self.tr("Input SHP file")))
self.addParameter(ParameterNumber(shp2las.SCALE_FACTOR_XY,
self.tr("resolution of x and y coordinate"), False, False, 0.01))
self.tr("resolution of x and y coordinate"), 0, None, 0.01))
self.addParameter(ParameterNumber(shp2las.SCALE_FACTOR_Z,
self.tr("resolution of z coordinate"), False, False, 0.01))
self.tr("resolution of z coordinate"), 0, None, 0.01))
self.addParametersPointOutputGUI()
self.addParametersAdditionalGUI()

Expand Down

0 comments on commit 2b5ea36

Please sign in to comment.