Liblas exception: 'version minor out of range" error

If you are allergic to bug trackers, you can post here any remarks, issues and potential bugs you encounter
Post Reply
fg80hu
Posts: 2
Joined: Wed Sep 16, 2015 12:31 pm

Liblas exception: 'version minor out of range" error

Post by fg80hu »

Hello,
I receive this error message when dropping a las file in ( both v2.6.2b and v2.6.0):
Displayed first....
Displayed first....
cc_error1.JPG (13.47 KiB) Viewed 10238 times
after clicking OK here, displayed this one:
Displayed after clicking OK at first
Displayed after clicking OK at first
cc_error2.JPG (19.79 KiB) Viewed 10238 times
The same thing thing occurs if I compress the las file to laz with laszip.exe, the .laz file also drops this message.
Thanks!
daniel
Site Admin
Posts: 7717
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: Liblas exception: 'version minor out of range" error

Post by daniel »

Indeed, this is because Liblas (the library we use to load LAS files) doesn't support the version 1.4 of LAS/LAZ format (the one with full-waveform).

If you don't have any full waveform data, I bet lastools must have an option to downgrade the file to version 1.3?
Daniel, CloudCompare admin
fg80hu
Posts: 2
Joined: Wed Sep 16, 2015 12:31 pm

Re: Liblas exception: 'version minor out of range" error

Post by fg80hu »

So it is. Thank you.
Dimitri
Posts: 156
Joined: Mon Oct 18, 2010 9:01 am
Location: Rennes (France)
Contact:

Re: Liblas exception: 'version minor out of range" error

Post by Dimitri »

Just for information : Actually, las 1.3 can also include full waveform information. If you try to load a las 1.3 with FWF data embedded, Cloudcompare will report an error
daniel
Site Admin
Posts: 7717
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: Liblas exception: 'version minor out of range" error

Post by daniel »

I don't know if liblas if still actively supported... I believe that PDAL is more up-to-date but I really miss the time to look at this right now :(
Daniel, CloudCompare admin
Billy_G
Posts: 1
Joined: Tue Nov 29, 2022 10:38 pm

Re: Liblas exception: 'version minor out of range" error

Post by Billy_G »

I have this exact issue. Running CloudCompare v2.7.0. Can anyone explain how to fix this in layman's terms? Thanks in advance.
daniel
Site Admin
Posts: 7717
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: Liblas exception: 'version minor out of range" error

Post by daniel »

CloudCompare 2.7.0?! This is absolutely not supported anymore ;)
Daniel, CloudCompare admin
Post Reply