[processing] fixes for lastools algorithms

by Martin Isenburg
This commit is contained in:
volaya 2015-07-10 15:27:45 +02:00
parent e3b2a2daf2
commit 2b5ea3669e
3 changed files with 5 additions and 5 deletions

View File

@ -83,7 +83,7 @@ class lasmerge(LAStoolsAlgorithm):
commands.append("-i") commands.append("-i")
commands.append(file7) commands.append(file7)
self.addParametersFilesAreFlightlinesCommands(commands) self.addParametersFilesAreFlightlinesCommands(commands)
self.addParametersApplyFileSourceIdsCommands(commands) self.addParametersApplyFileSourceIdCommands(commands)
self.addParametersPointOutputCommands(commands) self.addParametersPointOutputCommands(commands)
self.addParametersAdditionalCommands(commands) self.addParametersAdditionalCommands(commands)

View File

@ -44,7 +44,7 @@ class lasmergePro(LAStoolsAlgorithm):
self.addParametersVerboseCommands(commands) self.addParametersVerboseCommands(commands)
self.addParametersPointInputFolderCommands(commands) self.addParametersPointInputFolderCommands(commands)
self.addParametersFilesAreFlightlinesCommands(commands) self.addParametersFilesAreFlightlinesCommands(commands)
self.addParametersApplyFileSourceIdsCommands(commands) self.addParametersApplyFileSourceIdCommands(commands)
self.addParametersPointOutputCommands(commands) self.addParametersPointOutputCommands(commands)
self.addParametersAdditionalCommands(commands) self.addParametersAdditionalCommands(commands)

View File

@ -2,7 +2,7 @@
""" """
*************************************************************************** ***************************************************************************
las2txt.py shp2las.py
--------------------- ---------------------
Date : September 2013 Date : September 2013
Copyright : (C) 2013 by Martin Isenburg Copyright : (C) 2013 by Martin Isenburg
@ -43,9 +43,9 @@ class shp2las(LAStoolsAlgorithm):
self.addParameter(ParameterFile(shp2las.INPUT, self.addParameter(ParameterFile(shp2las.INPUT,
self.tr("Input SHP file"))) self.tr("Input SHP file")))
self.addParameter(ParameterNumber(shp2las.SCALE_FACTOR_XY, 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.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.addParametersPointOutputGUI()
self.addParametersAdditionalGUI() self.addParametersAdditionalGUI()