Skip to content

A series of jupyter notebook pipelines for processing lidar point clouds (LAS files) and deriving vegetation structure metrics.

License

Notifications You must be signed in to change notification settings

pbb2291/Lidar-Notebooks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lidar-Notebooks

A series of jupyter notebook pipelines for processing highly detailed lidar point clouds (LAS or LAZ files) and deriving vegetation structure metrics. Draws on tools from a variety of other packages (such as geopandas, laspy, PDAL, rasterio, xarray, rioxarray, and concurrent.futures).

Pipelines, scripts, and what they do:

LasFilePreprocessing

A couple of tools for preprocessing las/laz point clouds.

  • 0-1-LasFiles_ComputeHeightClipBuffer Computes the "HeightAboveGround" for each point using delauney triangulation of ground points. Also, removes buffer from the edge of a las tile (if specified).
  • 0-2-LasBBoxShapefile Creates shapefiles of bounding boxes of las files for context.

PolygonMetrics

A 2 part process for clipping las files with a set of polygons (1-ClipLasWithPolygons.ipynb) and then, drawing on las files to compute vegetation structure metrics for each polygon (2-ComputeMetricsByPolygon.ipynb).

  • 1-ClipLasWithPolygons - Clips las files using a set of polygon features, usually a large number of small plots (~1-30 m wide).
  • 2-ComputeMetricsByPolygon - Computes and saves structural metrics for each polygon feature.

VoxelMetrics

A 3 part process for 1) clipping las files with a set of polygons (1-ClipLasWithPolygonsforVoxels.ipynb); 2) voxeling lidar data, computing vegetation structure metrics, and outputting pickle files (2-ProcessVoxelMetrics.ipynb); and 3) reading the pickle files and outputting the pixel and voxel grids of each metric as geotif or netcdf files for use in qgis and other software (3-OutputVoxelMetrics_Geotiff_NetCDF.ipynb).

  • 1-ClipLasWithPolygonsforVoxels - Clips las files using a set of polygon features, usually a small number of large plots (1 ha)
  • 2-ProcessVoxelMetrics - Voxelizes each clipped las file at the desired resolution, computes metrics for each voxel, and outputs pickle files.
  • 3-OutputVoxelMetrics_Geotiff_NetCDF - Reads pickle files and outputs rasters as geotif files and voxel metrics as netcdf files for use in other GIS software.

    =======

About

A series of jupyter notebook pipelines for processing lidar point clouds (LAS files) and deriving vegetation structure metrics.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published