i currently try to simplify some tasks with batches. There is the option to set a scalar field in 2.13 with -SF_OP {SF index or name} {operation} {value} (https://www.cloudcompare.org/doc/wiki/i ... 13.beta.29)
I have a working batch for the CSF Filter.
Code: Select all
::USE CSF in Current Directory
for %%f in (%CD%\*.las) DO "C:\Program Files\CloudCompare\cloudcompare.exe" -SILENT -O -GLOBAL_SHIFT AUTO %%f -AUTO_SAVE OFF -C_EXPORT_FMT LAS -NO_TIMESTAMP -CSF -SCENES RELIEF -PROC_SLOPE -CLOTH_RESOLUTION 2.0 -CLASS_THRESHOLD 0.5 -EXPORT_GROUND -EXPORT_OFFGROUND
Code: Select all
:: Classify ground as Class 2
for %%f in (%CD%\*_ground_points.las) DO "C:\Program Files\CloudCompare\cloudcompare.exe" -O -GLOBAL_SHIFT AUTO %%f -C_EXPORT_FMT LAS -SF_OP Classification set 2 -SAVE_CLOUDS
Thank you!
Best
Marius