Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

LASInfo64 repairs, delete_empty and cores

52 views
Skip to first unread message

ncwil...@gmail.com

unread,
Mar 19, 2025, 2:52:40 AMMar 19
to LAStools - efficient tools for LiDAR processing
I've found a few things with lasinfo with the following script I have been trying to get working. 

For some context, the input for this would be tiles I get out of running lastile with an external tiling shapefile. The goal is to delete the empty las files and repair counters and bounding boxes. Here is my script:

lasinfo64 -i %INPUT_FOLDER%\*.las -repair -delete_empty -cores %NUM_CORES%

I noticed the following
  • It appears to be deleting empty LAS files, but not running the repair switch. Are these two switches not compatible to be run in a single lasinfo call?
  • I tried running without -delete_empty and the repair switch works, but the 64 bit lasinfo does not run with multiple cores. 32 bit lasinfo does use multiple cores with repair. 

LAStools - efficient tools for LiDAR processing

unread,
Mar 21, 2025, 12:05:31 PMMar 21
to LAStools - efficient tools for LiDAR processing
Hi,
(a) you have to run -repair and -delete_empty in 2 steps
(b) repair works good to repair the header boundaries. If the reader tries to read behind the data it maybe fail, both, the 32 and 64 bit version. But: The 64 bit version has a new error handling. If a read error on one file occur, the program stops. To force to continue on (read) errors you have to use '-errors_ignore'.
   lasinfo64 -i %INPUT_FOLDER%\*.las -repair -delete_empty -cores %NUM_CORES%  -errors_ignore
will lead into the same behavior than the old version.

Cheers,

Jochen @rapidlasso

Reply all
Reply to author
Forward
0 new messages