-
-
Notifications
You must be signed in to change notification settings - Fork 130
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
writeLAS and Header Size
#61
Comments
Hi, Thank you for reporting the bug. Please could you attach an example file and an example code. I must make some test myself to find the problem. Regards |
Hi Jean,
My apology for the delayed reply. I was on leave just after confirmation of
candidature of PhD so could not respond to your email. I need permission to
send the example data sets so once I obtain it will send it to you however
the file size is big though.
Thanks and Regards,
Yogendra
*...............................*
*Yogendra K. Karna*
*PhD Candidate*
*School of Ecosystem and Forest Sciences*
*The University of Melbourne*
4 Water St., Creswick, VIC 3363, Australia
T: +61 3 5321 4257
M: 0410 207 191
*E: ykarna@student.unimelb.edu.au <ltb@unimelb.edu.au>*
…On Mon, May 8, 2017 at 10:02 PM, Jean-Romain Roussel < ***@***.***> wrote:
Hi,
Thank you for reporting the bug. Please attach an example file and an
example code. I must make some test myself to find the problem.
Regards
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#61 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AXI0o7D9Us-H3iXAu0e3NXdg0uqQUdOXks5r3wRIgaJpZM4NTclC>
.
|
No problem. A little subset of it should be enough. What I need is only a toy example with the proper metadata to reproduce the problem not the whole dataset. |
Hi Jean, Here is the subset of one tile that I have clipped for 100*100 m. After that I exported the clipped tile as another las file, which is written as test_write_las.las but while I try to read it shows the message as of first email. The sample subset of clipped file is attached herewith. |
Well, I'm really grateful for your help but you provided me the output files (the corrupted one). What I need is the original file to reproduce the bug. Indeed I perfectly understand the problem but I don't have a las file in version 1.3 to reproduce the problem. And I'm not able to understand it only reading the code. Indeed the Regards |
Hi Jean, Please find the link for data download. If it will not work, please let me know. Thanks and Regards, |
It was easy to find the bug with the good data. It was not a bug with Notice that the way I write las file is not perfect. There are some informations lost from the original file.
But everything else sounds good. |
Hi,
I have a tile with a 'header size
of 235. However when i save this file using writeLAS it is changing the 'Header size
to 227. This is creating errors when i re-import the tile:WARNING: for LAS 1.� header_size should at least be 235 but it is only 227
WARNING: for LAS 1.� header_size should at least be 235 but it is only 227
WARNING: for LAS 1.� header_size should at least be 235 but it is only 227
WARNING: for LAS 1.� header_size should at least be 235 but it is only 227
Warning messages:
1: Invalid file: header states the file contains 11221946 1st returns but 16096836 were found. Header has been updated.
2: Invalid file: header states the file contains 8310139 2nd returns but 9559154 were found. Header has been updated.
3: Invalid file: header states the file contains 4354005 3rd returns but 0 were found. Header has been updated.
4: Invalid file: header states the file contains 1439017 4th returns but 0 were found. Header has been updated.
5: Invalid file: header states the file contains 288440 5th returns but 0 were found. Header has been updated.
I have tried to re-import the file using LASTools, so I suspect the header size is being changed during writeLAS. The result is a corrupted file when saving.
The tile causing the issue is new (Version 1.3). We spoke with Martin Isenburg and he recommended the writeLAS needs to be set at Version 1.2 to avoid this error. We are wondering what the current setup is for writeLAS in the lidR package.
Thanks.
The text was updated successfully, but these errors were encountered: