Page 1 of 1

I'm new to CC

Posted: Fri Jul 03, 2026 6:45 am
by Gibberish
Hi there! I'm new to CC, but wanted to do the following from the command line on Windows:

CloudCompare -SILENT -O myfile.las -CSF -SCENES RELIEF -CLOTH_RESOLUTION 1 -CLASS_THRESHOLD 0.5 -EXPORT_GROUND

basically, I'm interested only in whatever the CSF marked as ground. The default output for qCSF is bin whenever the EXPORT_GROUND flag is raised.

However, I'd like to work with LAS files, if possible. I tried converting
CloudCompare -SILENT -O myfile.bin -C_EXPORT_FMT LAS

without luck.

I'd appreciate any help!

Thanks!

Re: I'm new to CC

Posted: Sun Jul 05, 2026 8:54 am
by daniel
Looking at the code, I think the documentation was not correct. The ground (or off-ground) points are exported as a new file, not necessarily as a bin file.

So you can use -C_EXPORT_FMT LAS before the -LAS instruction:

Code: Select all

CloudCompare -SILENT -O myfile.las -C_EXPORT_FMT LAS -CSF -SCENES RELIEF -CLOTH_RESOLUTION 1 -CLASS_THRESHOLD 0.5 -EXPORT_GROUND
(and for the records, you were just missing an explicit '-SAVE_CLOUDS' instruction at the end of your second command)