Views
No views yet
1from chm_builder import CHMBuilder, CHMConfig
2
3builder = CHMBuilder(CHMConfig(resolution=1.0, ground_method="las_class"))
4meta = builder.build("input.laz", "output_chm.tif")
5print(meta)python chm_builder.py input.laz output_chm.tif --resolution 0.5 --ground-method las_classpip install laspy[lazrs] rasterio scipy numpy| Ground Method | Description |
|---|---|
las_class | Uses LAS classification code 2 (standard ground) |
percentile | Points below a global elevation percentile |
lowest | Lowest return in each raster cell |
csf | Cloth Simulation Filter (requires cloth-simulation-filter) |
GTiff) with CHM heights