Hello,
adding those command-line parameters in various places works without trouble for me. Note that '-keep_class ~' makes is not a valid command and '-keep_class 3 4 5' as I am doing below does not really make sense (and leads to poor results). Also ... you cannot expect lasclassify to work for mobile data (see the README file) as the expectation is that there are roofs scanned from above. That is what lasclassify does: looking for horizontal planar areas that are 2 meters or higher above the ground. I do not have a solution for finding the sides of buildings in LAStools (well ... there sort of is one by making density grids with lasgrid as building facades turn into lines of very high density in the raster.
Regards,
Martin @rapidlasso
D:\LAStools\bin>lasclassify -version
D:\LAStools\bin>lasclassify -v -i ..\data\fusa.laz -small_buildings -olas -odir "D:\LAStools\bin\mist" -odix "_class"
processing file '..\data\fusa.laz'.
reading 277573 points. step 2 m, ground offset 2.00 m, planar 0.1, rugged 0.4, sub 5 ...
took 0.109 sec. finding buildings and vegetation ...
took 1.532 sec. adding gutter points ...
took 0.343 sec. added 3603. removing overhanging vegetation points ...
took 0.016 sec. removed 1877. removing small trees ...
took 0.047 sec. removed 1088. outputting ...
took 0.14 sec. 43020 building points. 35638 vegetation points.
done with 'D:\LAStools\bin\mist\fusa_class.las'. total time 2.187 sec.
D:\LAStools\bin>lasclassify -v -i ..\data\fusa.laz -planar 0.2 -small_buildings -olas -odir "D:\LAStools\bin\mist" -odix "_class"
processing file '..\data\fusa.laz'.
reading 277573 points. step 2 m, ground offset 2.00 m, planar 0.2, rugged 0.4, sub 5 ...
took 0.109 sec. finding buildings and vegetation ...
took 1.505 sec. adding gutter points ...
took 0.364 sec. added 5184. removing overhanging vegetation points ...
took 0.031 sec. removed 4211. removing small trees ...
took 0.031 sec. removed 1446. outputting ...
took 0.141 sec. 48678 building points. 27301 vegetation points.
done with 'D:\LAStools\bin\mist\fusa_class.las'. total time 2.181 sec.
D:\LAStools\bin>lasclassify -v -i ..\data\fusa.laz -planar 0.2 -small_buildings -olas -odir "D:\LAStools\bin\mist" -odix "_class" -keep_class 3 4 5 6
processing file '..\data\fusa.laz'.
reading 277573 points. step 2 m, ground offset 2.00 m, planar 0.2, rugged 0.4, sub 5 ...
took 0.109 sec. finding buildings and vegetation ...
took 0.875 sec. adding gutter points ...
took 0.377 sec. added 5501. removing overhanging vegetation points ...
took 0.015 sec. removed 5816. removing small trees ...
took 0.016 sec. removed 1425. outputting ...
WARNING: written 79152 points but expected 277573 points
took 0.109 sec. 61861 building points. 9892 vegetation points.
done with 'D:\LAStools\bin\mist\fusa_class.las'. total time 1.501 sec.