Open and export LAZ with BATCH not working
Posted: Sat Aug 29, 2020 9:01 am
Hello all,
I'm creating a batch that allowed me to open laz file(s) by drag/drop , subsample the cloud, then export it in LAZ.
But when i try to execute the following line, none file is output...
The error return to my batch is the following "Unhandled format specifier (LAZ)"
Surprisingly if I chose to export in LAS by modifying to , then it work and I have from my input file "test.laZ" an output file "test_subsample.laS". It work also with .bin .e57 etc...
I'm wonderring why can't I export my file in LAZ ? Can't we export in the same format as the input?
Regard,
Arnaud
**********************************************
Update :
Ok after doing some research i've found the problem on https://www.cloudcompare.org/doc/wiki/i ... _line_mode :
"Specifies the default output format for clouds. Format can be one of the following: ASC, BIN, PLY, LAS, E57, VTK, PCD, SOI, PN, PV."
So I see that laz isn't in the list...
Is it possible for a futur version of Cloudcompare to add the LAZ writer ? It will be very usefull !
I'm creating a batch that allowed me to open laz file(s) by drag/drop , subsample the cloud, then export it in LAZ.
But when i try to execute the following line, none file is output...
Code: Select all
for %%f in (%*) DO "D:\Program Files\CloudCompare\cloudcompare.exe" -SILENT -O -GLOBAL_SHIFT AUTO %%f -C_EXPORT_FMT LAZ -NO_TIMESTAMP -SS SPATIAL 1.00
Surprisingly if I chose to export in LAS by modifying
Code: Select all
-C_EXPORT_FMT LAZ
Code: Select all
-C_EXPORT_FMT LAS
I'm wonderring why can't I export my file in LAZ ? Can't we export in the same format as the input?
Regard,
Arnaud
**********************************************
Update :
Ok after doing some research i've found the problem on https://www.cloudcompare.org/doc/wiki/i ... _line_mode :
"Specifies the default output format for clouds. Format can be one of the following: ASC, BIN, PLY, LAS, E57, VTK, PCD, SOI, PN, PV."
So I see that laz isn't in the list...
Is it possible for a futur version of Cloudcompare to add the LAZ writer ? It will be very usefull !