lasinfo is a well-known LAStool for examining LAS and LAZ files and is often used to output information from point cloud files. The output format has always been simple ASCII text. Quite a few users parse this text to extract information for further automated processing. This is possible but carries the risk of misinterpretation of the data. To eliminate these risks, a machine-readable format has been added in addition to the plain text format. The selected format is JSON. This now enables simple automated processing of the information from the tool.
Example
The following example shows both outputs: the traditional output on the left and the new JSON output in the right output window. The ‚-json‘ argument changes the format of the output.