@@ -38,10 +38,10 @@ class lasheightPro_classify(LAStoolsAlgorithm):
38
38
CLASSIFY_BELOW_HEIGHT = "CLASSIFY_BELOW_HEIGHT"
39
39
CLASSIFY_BETWEEN1 = "CLASSIFY_BETWEEN1"
40
40
CLASSIFY_BETWEEN1_HEIGHT_FROM = "CLASSIFY_BETWEEN1_HEIGHT_FROM"
41
- CLASSIFY_BETWEEN1_HEIGHT_TO = "CLASSIFY_BETWEEN1_HEIGHT_TO"
41
+ CLASSIFY_BETWEEN1_HEIGHT_TO = "CLASSIFY_BETWEEN1_HEIGHT_TO"
42
42
CLASSIFY_BETWEEN2 = "CLASSIFY_BETWEEN2"
43
43
CLASSIFY_BETWEEN2_HEIGHT_FROM = "CLASSIFY_BETWEEN2_HEIGHT_FROM"
44
- CLASSIFY_BETWEEN2_HEIGHT_TO = "CLASSIFY_BETWEEN2_HEIGHT_TO"
44
+ CLASSIFY_BETWEEN2_HEIGHT_TO = "CLASSIFY_BETWEEN2_HEIGHT_TO"
45
45
CLASSIFY_ABOVE = "CLASSIFY_ABOVE"
46
46
CLASSIFY_ABOVE_HEIGHT = "CLASSIFY_ABOVE_HEIGHT"
47
47
@@ -51,8 +51,8 @@ def defineCharacteristics(self):
51
51
self .name , self .i18n_name = self .trAlgorithm ('lasheightPro_classify' )
52
52
self .group , self .i18n_group = self .trAlgorithm ('LAStools Production' )
53
53
self .addParametersPointInputFolderGUI ()
54
- self .addParametersIgnoreClass1GUI ()
55
- self .addParametersIgnoreClass2GUI ()
54
+ self .addParametersIgnoreClass1GUI ()
55
+ self .addParametersIgnoreClass2GUI ()
56
56
self .addParameter (ParameterBoolean (lasheightPro_classify .REPLACE_Z ,
57
57
self .tr ("replace z" ), False ))
58
58
self .addParameter (ParameterSelection (lasheightPro_classify .CLASSIFY_BELOW ,
@@ -86,32 +86,32 @@ def processAlgorithm(self, progress):
86
86
commands = [os .path .join (LAStoolsUtils .LAStoolsPath (), "bin" , "lasheight" )]
87
87
self .addParametersVerboseCommands (commands )
88
88
self .addParametersPointInputFolderCommands (commands )
89
- self .addParametersIgnoreClass1Commands (commands )
90
- self .addParametersIgnoreClass2Commands (commands )
89
+ self .addParametersIgnoreClass1Commands (commands )
90
+ self .addParametersIgnoreClass2Commands (commands )
91
91
if self .getParameterValue (lasheightPro_classify .REPLACE_Z ):
92
92
commands .append ("-replace_z" )
93
93
classify = self .getParameterValue (lasheightPro_classify .CLASSIFY_BELOW )
94
- if (classify != 0 ):
94
+ if (classify != 0 ):
95
95
commands .append ("-classify_below" )
96
96
commands .append (unicode (self .getParameterValue (lasheightPro_classify .CLASSIFY_BELOW_HEIGHT )))
97
- commands .append (unicode (classify ))
97
+ commands .append (unicode (classify ))
98
98
classify = self .getParameterValue (lasheightPro_classify .CLASSIFY_BETWEEN1 )
99
- if (classify != 0 ):
99
+ if (classify != 0 ):
100
100
commands .append ("-classify_between" )
101
101
commands .append (unicode (self .getParameterValue (lasheightPro_classify .CLASSIFY_BETWEEN1_HEIGHT_FROM )))
102
102
commands .append (unicode (self .getParameterValue (lasheightPro_classify .CLASSIFY_BETWEEN1_HEIGHT_TO )))
103
- commands .append (unicode (classify ))
103
+ commands .append (unicode (classify ))
104
104
classify = self .getParameterValue (lasheightPro_classify .CLASSIFY_BETWEEN2 )
105
- if (classify != 0 ):
105
+ if (classify != 0 ):
106
106
commands .append ("-classify_between" )
107
107
commands .append (unicode (self .getParameterValue (lasheightPro_classify .CLASSIFY_BETWEEN2_HEIGHT_FROM )))
108
108
commands .append (unicode (self .getParameterValue (lasheightPro_classify .CLASSIFY_BETWEEN2_HEIGHT_TO )))
109
- commands .append (unicode (classify ))
109
+ commands .append (unicode (classify ))
110
110
classify = self .getParameterValue (lasheightPro_classify .CLASSIFY_ABOVE )
111
- if (classify != 0 ):
111
+ if (classify != 0 ):
112
112
commands .append ("-classify_above" )
113
113
commands .append (unicode (self .getParameterValue (lasheightPro_classify .CLASSIFY_ABOVE_HEIGHT )))
114
- commands .append (unicode (classify ))
114
+ commands .append (unicode (classify ))
115
115
self .addParametersOutputDirectoryCommands (commands )
116
116
self .addParametersOutputAppendixCommands (commands )
117
117
self .addParametersPointOutputFormatCommands (commands )
0 commit comments