-
-
Notifications
You must be signed in to change notification settings - Fork 14
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
Unable to load las or laz files #53
Comments
Can you share the file ? |
Many thanks for your quick reply. I've left a OneDrive link for the las files, if you have any problems accessing it or use a different drive just let me know i'll add them to your preferred cloud. I have found that using read.las instead of readLAS seems to allow files to be opened but then unable to run any other functions ie classify ground or normalise. https://1drv.ms/u/s!AsVBoyyYmzOCgjvpNXNAKIMOY4xl?e=Z7uHvA Regards |
I have a different issue.
Anyway it is an issue with h = rlas::read.lasheader("hen_faes_plot3_lidar.laz")
h
#> [...]
#> $`Variable Length Records`$Extra_Bytes$`Extra Bytes Description`$NormalZ$description
#> [1] "Z component of a vector normal t0\032\0056\xfc\177" Moved to |
Two workarounds in Do not read extra bytesThis way the header will be modified to remove information about extra bytes and it will consequently not trigger any error las = readLAS("hen_faes_plot3_lidar.laz", select = "-0") Create a
|
Thank you for the work arounds they are a great help and greatly appreciated. Dan |
The bug is expected to be fixed. Please install rlas 1.5.1 and tell me if it works well |
Hi,
I'm having trouble opening my las files. Where just last week everything was fine, now nothing seems to load. I've moved files from my own dir to the lidR one, have compressed the files to LAZ and tried every conceivable method to load them but either receive:
or
I've searched for any information relating to the 'Invalid header' but find nothing of help. I have updated R and RStudio to the latest as well uninstalling and re-installing everything and installing an older version. Also renaming the files to see if that has any impact but nothing seems to work. Do you have any ideas what could be the cause?
Many thanks
Dan
The text was updated successfully, but these errors were encountered: