lasinfo - martijnkoopman/SpatiumGL GitHub Wiki

View LAS/LAZ file info

Usage

lasinfo --help
View LAS/LAZ file info.
Usage: lasinfo [OPTIONS]

Options:
  -h,--help                   Print this help message and exit
  -i,--input TEXT:FILE REQUIRED
                              Input LAS/lAZ file

Example

Print LAS/LAZ point cloud info for an AHN3 tile downloaded from PDOK

lasinfo -i C_31CN1.LAZ
# File: 
File Signature: LASF
File Source ID: 0
Version: 1.2
System Identifier: Riegl Q680i
Generating Software: Terrascan
File Creation Year-Day: 2014-8
Compressed: Yes

# Points: 
Number of point records: 457486791
Number of points by return (5): 405021641, 28663023, 13563568, 7056602, 3181957
Point Data Format: 1
Lon-lat: No
Scale Factor: 0.001000 0.001000 0.001000
Offset: -0.000000 -0.000000 -0.000000
Min: 100000.000000 456250.000000 -7.590000
Max: 104999.999000 462499.999000 136.274000

# Variable Length Records: 0

Computing point statistics. This may take a while.
....................................................................................................
# Point Statistics: 
X: 100000.000000 - 104999.999000
Y: 456250.000000 - 462499.999000
Z: -7.590000 - 136.274000
Intensity: 0 - 65535
Number of Returns: 1 - 5
Return Numbers: 
> 5: 3181957
> 4: 7056602
> 3: 13563568
> 1: 405021641
> 2: 28663023
Scan Angle: -38.000000 - 35.000000
User Data: 1 - 5
Point Source ID: 16612 - 60011
Classifications: 
> 26 (Reserved): 381883
> 6 (Building): 38963177
> 9 (Water): 6179860
> 2 (Ground): 334430452
> 1 (Unclassified): 77531419
GPS Time: 143060.431704 - 582256.542675
Red: 5 - 0
Green: 0 - 0
Blue: 0 - 0