Closed Robin-hartley closed 2 years ago
The issue is from rlas
. I transfered the issue. The value -128 triggered a false positive error. Update rlas 1.5.1
from github.`You now have only warnings
las = readLAS("~/Téléchargements/issue 454/RH_test_data.laz")
#> Warnings :
#> 1: Invalid data: ScanAngleRank greater than -90 degrees.
#> 2: Invalid data: ScanAngleRank greater than 90 degrees
#> 3: Invalid data: 66 points with a 'return number' greater than the 'number of returns'.
Many thanks for getting to this so promptly
Hi there JRR,
I've been working on a bit of Riegl MiniVUX data for the past 6 months, had a nice script running in LidR to derive some vegetation metrics etc, and then was unhappy with the noise in the data, so I created a pipeline in LASTools to denoise the data prior to entry into Lidr. Unfortunately, I am now getting this error message when I try to ground classify the data:
I assume this is something to do with the format of the ScanAngleRank data that is written to the LAS file by LASTools. The same happens when I export data from CloudCompare.
I have a small snippet of the data I am working with here - RH_test_data.zip
Are you able to reproduce this error, and is it a bug? Or do I need to somehow edit the LAS file? I saw a bit of code that looked potentially useful here: https://github.com/Jean-Romain/lidR/issues/319 in which you suggested changing the ScanAngleRank data to an integer:
However, when I tried this on the test data I have provided, well, I couldn't load it into lidR as the same error appeared.
Thanks in advance,
RH