Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bad LAS export #1991

Open
zonderr opened this issue Apr 8, 2024 · 2 comments
Open

bad LAS export #1991

zonderr opened this issue Apr 8, 2024 · 2 comments
Labels
more info required We need more information from the reporter

Comments

@zonderr
Copy link

zonderr commented Apr 8, 2024

Hello,

I can't save in las format. I use version 2.13.1 Kharkiv.

From bin file in attachement, I go File/save, I choose las format with a name and it opens a "LAS Save Options" window. I don't change any option and click on OK and then I get an error popup window : "An error occurred while saving 'dd.las': the third-party library in charge of saving/loading the file has failed to perform the operation"
At the end, I have very small las file with 1528 points whereas I expected 46041 ones..

I upload the file. I try to export the bin into a las file.
dd.bin.gz
dd.las.gz

@dgirardeau
Copy link
Member

dgirardeau commented Apr 8, 2024

I think the error comes from LASzip :
image

And I would bet that it's caused by the 2 VLRs that were loaded from the original LAZ file (you can see them as 'Meta data' at the bottom of the cloud properties - 'LAS.vlrs' - probably the CS/Projection VLRs). When we try to save them 'as is', it probably triggers this error in LASzip. Do you have the original file?

@tmontaigu do you maybe have another idea?

@dgirardeau dgirardeau added more info required We need more information from the reporter and removed not_yet_confirmed labels Apr 8, 2024
@tmontaigu
Copy link
Collaborator

I'm not sure I understand the message. We can see the error and the check here LASzip/LASzip@2a36ee0 which is "temporary" fix for LASzip/LASzip#50

So to fix this we have the make the changes so that the checks pass

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
more info required We need more information from the reporter
Projects
None yet
Development

No branches or pull requests

3 participants