Page 1 of 1

Linux: can't read Las files due to extended fields?

Posted: Fri Mar 08, 2024 12:30 am
by mtmaclay
Hi there,

When reading in .las files, CloudCompare v2.12.4 on Linux (installed via flatpak) errors out with:

PDAL Exception: readers.las: Extra byte specification exceeds point length beyond base format length.

If I uncheck the box "read additional fields" under the Extended fields tab in the open file menu, the file opens just fine.

I use the command line, and I'm wondering if I can disable the extended fields (or get around this issue another way) while opening files with the command line. Is there an alternative solution or modification to the additional fields (e.g. extended fields, new calculated values, classifications etc), that would help? I'm not very familiar with flatpak... so here is an example CL prompt I'm trying on linux:

flatpak run org.cloudcompare.CloudCompare -o -global_shift 1 2 3 /path/to/file.las

Thanks so much!
Matt

Re: Linux: can't read Las files due to extended fields?

Posted: Fri Mar 08, 2024 3:40 pm
by daniel
Can you try maybe with the 2.13 version that just came out? It doesn't rely on PDAL anymore (otherwise I believe the answer to your question is 'no' ;)

Re: Linux: can't read Las files due to extended fields?

Posted: Fri Mar 08, 2024 7:53 pm
by mtmaclay
Yup, I can open it now. Thanks for the heads up that 2.13 is out!

best,
matt