Page 1 of 1

Cannot export LAZ files via CMD (Ubuntu)

Posted: Thu May 30, 2024 9:06 am
by abdulaerodyne
Hello,

I'm trying to convert a mesh PLY file to a point cloud and trying to export that point cloud in LAS/LAZ file formats.

I can do that with GUI but I'm facing the following error via linux command line:

Code: Select all

 Unhandled format specifier (LAS)
Command:

Code: Select all

CloudCompare -SILENT -VERBOSITY 1 -AUTO_SAVE OFF -o abc-ply.ply -SAMPLE_MESH POINTS 10000000 -C_EXPORT_FMT LAS -EXT LAZ
OS: Ubuntu 22.04.4 LTS
CC version: 2.13.1 (Kharkiv)

Is there anything I'm doing wrong?

Re: Cannot export LAZ files via CMD (Ubuntu)

Posted: Thu May 30, 2024 3:58 pm
by daniel
Ah, maybe that's the LAZ format that's not supported? Does it work without the end part? (-EXT LAZ)

Re: Cannot export LAZ files via CMD (Ubuntu)

Posted: Fri May 31, 2024 7:39 am
by abdulaerodyne
No, it doesn't work without -EXT as well.

Command used for reference:

Code: Select all

CloudCompare -SILENT -VERBOSITY 1 -AUTO_SAVE OFF -o abc-ply.ply -SAMPLE_MESH POINTS 1000000 -C_EXPORT_FMT LAS
Still getting:

Code: Select all

Unhandled format specifier (LAS)

Update:

Getting similar error on E57 file type as well.

Command used for reference:

Code: Select all

CloudCompare -SILENT -VERBOSITY 1 -AUTO_SAVE OFF -o abc-ply.ply -SAMPLE_MESH POINTS 1000000 -C_EXPORT_FMT E57
Getting:

Code: Select all

Unhandled format specifier (E57)

Re: Cannot export LAZ files via CMD (Ubuntu)

Posted: Mon Jun 03, 2024 8:04 am
by daniel
It's as is the command line mode was not loading the I/O plugins... You should see the list of plugins loaded at the beginning of the logs (in both the GUI and the command line versions).