Remove Duplicates works in GUI but not in Command Line

If you are allergic to bug trackers, you can post here any remarks, issues and potential bugs you encounter
Post Reply
maramusa
Posts: 2
Joined: Thu Feb 09, 2023 2:29 am

Remove Duplicates works in GUI but not in Command Line

Post by maramusa »

** I also posted this in laserscanningforum, admin sorry if its doubling up, i can remove one if needed
https://www.laserscanningforum.com/foru ... hp?t=19949

Remove Duplicates works in GUI but not in Command Line
Cloudcompare version 2.13 Alpha 64 bit Windows 11
CloudCompare.exe -SILENT -O "D:\...\test.las" -RDP -SAVE_CLOUDS FILE "...\test_dup.las"
Then when opening the file in CC
[LAS] laszip error" '(null)'
An error occurred while loading 'test.las': the third-party library in charge of saving/loading the file has failed to perform the operation

I have tried giving it direct path on C, with no special characters, no spaces, and run as admin etc
It is the same no matter the las/las file. So I dont think its file specific

I read that the remove dupicates -RDP is new for Cloudcompare version 2.13 Alpha 64 bit
I am 'assuming' it was tested in the GUI but there is some internal bug for the command line
It does create the output laz, but its actually bigger than the original and cant be opened

Can anybody actually get it working on command line?
Whats the chance of having this fixed if its a bug?

Anyway, for reference I also tried the .las/laz made from the BunnyDouble.e57 sample
http://www.libe57.org/data.html
https://sourceforge.net/projects/e57-3d ... 7/download

Cheers
daniel
Site Admin
Posts: 7709
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: Remove Duplicates works in GUI but not in Command Line

Post by daniel »

Yes, thanks for the feedback. Hopefully the answer on the LSF forum will be sufficient ;)
Daniel, CloudCompare admin
maramusa
Posts: 2
Joined: Thu Feb 09, 2023 2:29 am

Re: Remove Duplicates works in GUI but not in Command Line

Post by maramusa »

A perfect simple answer

I forgot -C_EXPORT_FMT LAS
Thanks again!
Post Reply