Lasnoise hangs forever for some lasfiles

35 views
Skip to first unread message

RG

unread,
Jun 21, 2017, 7:57:06 AM6/21/17
to LAStools - efficient tools for LiDAR processing
Hi,

I am having trouble using lasnoise on the following file: https://drive.google.com/file/d/0B604851ZWStxekpMaXdMR3lMcDQ/view?usp=sharing

When I do:
lasnoise -i lasfile.las -o lasfile_mod.las

the tool prints an error message and 'hangs' forever. My problem is with the hanging part; that behavior does not play well in a scripting environment. If the error is fatal, the command should exit.

lasinfo is able to read the file, but prints out the following errors/warnings:

ERROR: 'end-of-file' after 937986 of 2091491 points
WARNING: 7386 points outside of header bounding box
WARNING: real number of point records (937986) is different from header entry (2091491).
WARNING: for return 1 real number of points by return (930600) is different from header entry (2091491).
WARNING: there are 7386 points with return number 0
WARNING: there are 7386 points with a number of returns of given pulse of 0

It would be great if this is fixed soon.

Also, is there a good way to make sure that a given lasfile is 'sane'? Would running lasnoise and making sure that there are no 'ERROR:' messages in the output do it?

Ranjith.








Martin Isenburg

unread,
Jun 21, 2017, 8:17:04 AM6/21/17
to LAStools - efficient command line tools for LIDAR processing
Hello,

I think your inputs to lasinfo and lasnoise are LAZ files that have been truncated during copying or download. This leads to decompression errors and corrupt points end up at random locations far away from the survey area (see lasinfo output that reports points outside the bounding box).

Make sure your LAZ files downloads are successful with

laszip -i tiles/*.laz -check

and/or

lasvalidate -i tiles/*.laz -no_CRS_fail -o report.xml 



Regards,

Martin


Reply all
Reply to author
Forward
0 new messages