Page 1 of 1

Saving file

Posted: Fri Mar 08, 2019 8:17 am
by Marija1408
Hi,
I'm trying to save file as LAS cloud (*.las*.laz) format but error keeps popping out it says "PDAL exception 'writers.las: Invalid value '0' for argument 'minor_version'." Can you tell me what I'm doing wrong?

Re: Saving file

Posted: Wed Mar 13, 2019 6:07 am
by muzo583
I have a similar error. Did you get to fix it?

Re: Saving file

Posted: Thu Mar 14, 2019 7:40 am
by Marija1408
I haven't. I'm saving my files in .e57 format.

Re: Saving file

Posted: Thu Mar 14, 2019 9:15 pm
by daniel
What are the characteristics/features of your cloud? (it has scalar fields I guess? Are they standard with respect to the LAS format or not? Do you have maybe RGB colors? etc.). You can send me a sample file (as a BIN file) if you want me to debug this properly (--> admin[at]cloudcompare.org))

Re: Saving file

Posted: Wed Mar 20, 2019 1:47 pm
by Jälv
This error is happening because the file you openned must be a LAS version 1.0.
When a LAS file is openned, CloudCompare remembers the minor_version (here '0') and saves the file with the same minor_version, however pdal does'nt seem to be able to save LAS files with version 1.0.

So when saving a LAS 1.0 we should bump the version of the saved file to 1.2, the most common version used.

Re: Saving file

Posted: Thu May 14, 2020 6:26 pm
by bcbusseau
How do you go about bumping th eversion to 1.2 during save?