Checking a batch of LAZ files

56 views
Skip to first unread message

Joep Orbons

unread,
Jun 6, 2025, 12:25:46 PMJun 6
to LAStools - efficient tools for LiDAR processing
Hi Group,
I'm trying to check a large number of LAZ files for integrity. The -check command works nicely. It either produces a "SUCCESS" result or an "ERROR" result.
But I would like to write these outputs to a simple txt file for each LAZ file so I can quickly check what LAZ files are an error. I tried:
     laszip -check LIDAR.LAZ > LIDAR.err
Yet the outcome still only appears on the commandline and the LIDAR.err file remains empty. The LASZIP results are not piped to the error file.

I'm working on Windows11, Command prompt.

Anny suggestions? 

LAStools - efficient tools for LiDAR processing

unread,
Jun 6, 2025, 12:28:44 PMJun 6
to LAStools - efficient tools for LiDAR processing
Hi Joep,
you have to redirect the error-output into the output stream. Also it is recommended to use the 64 bit version.
Check this out:

     laszip -i LIDAR.LAZ -check > LIDAR.err 2>&1

Cheers,

Jochen @rapidlasso

Joep Orbons

unread,
Jun 7, 2025, 11:31:25 AMJun 7
to LAStools - efficient tools for LiDAR processing
Hi Jochem,

Thanks, that works like clockwork. This saves me a lot of manuel checking.

Best wishes,

Joep
Reply all
Reply to author
Forward
0 new messages