Subsampling in Command Line Mode

Feel free to ask any question here
Post Reply
gonkdruide
Posts: 1
Joined: Tue Oct 15, 2019 7:11 am

Subsampling in Command Line Mode

Post 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!
daniel
Site Admin
Posts: 7713
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: Subsampling in Command Line Mode

Post 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
Daniel, CloudCompare admin
Post Reply