pdal info
will report summary statistics (source):
pdal info --boundary /Users/me/test/data/las/autzen_trim.las
{
"boundary":
{
"area": 746772.7543,
"avg_pt_per_sq_unit": 22.43269935,
"avg_pt_spacing": 2.605540869,
"boundary": "MULTIPOLYGON (((636274.38924399 848834.99817891, 637242.52219686 848834.99817891, 637274.79329529 849226.26445367, 637145.70890157 849338.05481789, 637242.52219686 849505.74036422, 636016.22045656 849505.74036422, 635983.94935813 849114.47408945, 636113.03375184 848890.89336102, 636274.38924399 848834.99817891)))",
"boundary_json": { "type": "MultiPolygon", "coordinates": [ [ [ [ 636274.38924399, 848834.99817891 ], [ 637242.52219686, 848834.99817891 ], [ 637274.79329529, 849226.26445367 ], [ 637145.70890157, 849338.05481789 ], [ 637242.52219686, 849505.74036422 ], [ 636016.22045656, 849505.74036422 ], [ 635983.94935813, 849114.47408945 ], [ 636113.03375184, 848890.89336102 ], [ 636274.38924399, 848834.99817891 ] ] ] ] },
"density": 0.1473004999,
"edge_length": 0,
"estimated_edge": 111.7903642,
"hex_offsets": "MULTIPOINT (0 0, -32.2711 55.8952, 0 111.79, 64.5422 111.79, 96.8133 55.8952, 64.5422 0)",
"sample_size": 5000,
"threshold": 15
},
"filename": "\/Users\/acbell\/pdal\/test\/data\/las\/autzen_trim.las",
"pdal_version": "1.6.0 (git-version: 675afe)"
}