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?
Saving file
-
- Posts: 2
- Joined: Fri Mar 08, 2019 8:08 am
Saving file
- Attachments
-
- Capture2.JPG (150.16 KiB) Viewed 7011 times
-
- Capture1.JPG (223.54 KiB) Viewed 7011 times
Re: Saving file
I have a similar error. Did you get to fix it?
-
- Posts: 2
- Joined: Fri Mar 08, 2019 8:08 am
Re: Saving file
I haven't. I'm saving my files in .e57 format.
Re: Saving file
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))
Daniel, CloudCompare admin
Re: Saving file
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.
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
How do you go about bumping th eversion to 1.2 during save?