Page 1 of 1

Subsampling in Command Line Mode

Posted: Tue Oct 15, 2019 7:17 am
by gonkdruide
Hi Daniel,

great software I have been using a while now. Since we are dealing with a huge point cloud we would like to subsample it via the cmd-line tool. Therefore I am using:

CloudCompare -O $path$\V1.las -C_EXPORT_FMT LAS -SS SPATIAL 1

However I am getting artefacts in the result and neighbouring points with distances < 1m. When I am replacing V1.las by V1.bin which is manually loaded to CC and saved it works properly. My assumption is, that the issue rises due to the fact that no global shift is applied automatically in the cmd Mode. How can I achieve this? The Parameter GLOBAL_SHIFT seems to be no longer available?

Thanks in advance!

Re: Subsampling in Command Line Mode

Posted: Tue Oct 15, 2019 6:53 pm
by daniel
This is because in the command line mode, by default the large coordinates are not managed (apart with BIN files that can store the Global shift information). You have to explicitly tell CC what to do with the global coordinates.

For instance:

Code: Select all

CloudCompare -O -GLOBAL_SHIFT AUTO $path$\V1.las -C_EXPORT_FMT LAS -SS SPATIAL 1