Saving file

Feel free to ask any question here
Post Reply
Marija1408
Posts: 2
Joined: Fri Mar 08, 2019 8:08 am

Saving file

Post 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?
Attachments
Capture2.JPG
Capture2.JPG (150.16 KiB) Viewed 7061 times
Capture1.JPG
Capture1.JPG (223.54 KiB) Viewed 7061 times
muzo583
Posts: 30
Joined: Wed Nov 19, 2014 6:19 pm

Re: Saving file

Post by muzo583 »

I have a similar error. Did you get to fix it?
Marija1408
Posts: 2
Joined: Fri Mar 08, 2019 8:08 am

Re: Saving file

Post by Marija1408 »

I haven't. I'm saving my files in .e57 format.
daniel
Site Admin
Posts: 7709
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: Saving file

Post 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))
Daniel, CloudCompare admin
Jälv
Posts: 28
Joined: Sun Jul 02, 2017 8:35 pm

Re: Saving file

Post 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.
bcbusseau
Posts: 7
Joined: Tue May 05, 2020 6:52 am

Re: Saving file

Post by bcbusseau »

How do you go about bumping th eversion to 1.2 during save?
Post Reply