Hello.
I have processed a line collected by Optech Galaxy, which can record up to 8 discrete returns per pulse. Optech LMS reports after decoding that the line contains a lot of shots with 8 returns. lasinfo shows 8 returns for LAS 1.4 file as well. However, when I convert the LAS 1.4 file into text, there are no 8-returns at all. These shots have wrong number of returns and return index, for example:
407647.688912 7 1 669611.21 4867850.91 127.41
407647.688912 7 2 669610.97 4867850.92 126.08
407647.688912 7 3 669610.72 4867850.92 124.68
407647.688912 7 4 669610.50 4867850.93 123.47
407647.688912 7 5 669610.11 4867850.93 121.27
407647.688912 7 6 669609.09 4867850.95 115.61
407647.688912 7 6 669608.31 4867850.96 111.23
407647.688912 7 6 669607.70 4867850.97 107.84
The same if I convert from a text file with a shot, which contains 8 returns. For example, LMS outputs a shot with 8 returns into txt file:
# GPS Time, Number of returns, Return index, X, Y, Z
407647.688912 8 2 669610.967 4867850.918 126.080
407647.688912 8 5 669610.106 4867850.932 121.265
407647.688912 8 6 669609.093 4867850.949 115.613
Save these lines into "8returns.txt" and run the next command:
> txt2las -parse tnrxyz 8returns.txt -o 8returns.las -set_version 1.4
WARNING: return number 8 is out of range of three bits
WARNING: return number 8 is out of range of three bits
WARNING: written 8 points but expected 0 points
> las2txt -parse tnrxyz 8returns.las -o 8returns_2.txt
407647.688912 7 1 669611.21 4867850.91 127.41
407647.688912 7 2 669610.97 4867850.92 126.08
407647.688912 7 3 669610.72 4867850.92 124.68
407647.688912 7 4 669610.50 4867850.93 123.47
407647.688912 7 5 669610.11 4867850.93 121.27
407647.688912 7 6 669609.09 4867850.95 115.61
407647.688912 7 7 669608.31 4867850.96 111.23
407647.688912 0 0 669607.70 4867850.97 107.84
Why does txt2las complain about 3 bits limit as LAS 1.4 is specified?
Regards,
Alex