Overview
BERA Tools
BERA Tools is a suite of utilities for mapping, analyzing, and processing forest linear disturbances. It provides both command-line and GUI interfaces, along with a set of modular tools for various workflows.

BERA Tools provide tools for enhanced delineation and attribution of linear disturbances in forests.
Key Features
- Line cleanup and quality control
- Vertex optimization using raster guidance
- Automatic centerline generation
- Multiple footprint methods: absolute, relative, fixed-width
- Small, scriptable command-line tools for batch processing
- LiDAR point cloud processing (PC2Products): ground classification, DTM, height normalization, CHM/DSM, hummock/hollow mapping, surface water, depth to water and seismic line statistics
- Raster processing (Raster2Products): normalized DTM from a DTM raster
- Drag-and-drop pipelines in the GUI that chain tools and link each step's inputs to earlier outputs
Data Formats & Conventions
- Supported vector: GeoPackage, Shapefile
- Supported raster: GeoTIFF
- Supported point clouds: LAS / LAZ, read from a folder as a lidR
LAScatalog - Vector layers in a GeoPackage are given as
file.gpkg|layer - Use a projected coordinate system in metres
Support & Contributions
- See the repository README for detailed examples.
- Contributions welcome via issues and pull requests. Include tests and minimal reproducible examples.
Tool Boxes
Mapping
| Tool | Details |
|---|---|
| Check Seed Line | Groups and splits input lines for seed line quality control. |
| Vertex Optimization | Optimizes line vertices using raster data for improved delineation. |
| Centerline | Generates centerlines from input lines and raster data. |
| Line Footprint (Absolute) | Generates line footprints based on absolute canopy thresholds. |
| Line Footprint (Relative) | Creates dynamic line footprints using least-cost corridor and relative thresholds. |
| Line Footprint (Fixed Width) | Computes fixed-width line footprints and associated statistics. |
PC2Products (LiDAR)
These tools run R and lidR through rpy2, so they need R in the environment (see Installation).
| Tool | bt subcommand |
Details |
|---|---|---|
| LiDAR data info | las_info |
Prints the CRS, extent, density and normalization status of a dataset. |
| Raster Cell size from LiDAR data | cellsize |
Recommends a raster cell size from the point density. |
| Ground Classify Using CSF | gnd_csf |
Classifies ground points with the Cloth Simulation Filter. |
| Generate DTM from LiDAR Data | dtm |
Builds a bare-earth DTM with TIN, IDW or kriging. |
| Normalize LiDAR Data | normalize |
Subtracts the terrain so that Z is height above ground. |
| Generate CHM or DSM from LiDAR Data | chm_dsm |
Builds a CHM from normalized data, or a DSM from the original data. |
| Detect Hummock and Hollow from LiDAR Data | hh |
Maps hummocks, hollows and lawns relative to a smoothed terrain. |
| Surface Water Mapping | surface_water |
Classifies surface water from a true-colour orthomosaic. |
| Depth-to-Water from Surface Water | dtw |
Kriges a water table from surface water and computes depth to water. |
| Seismic Line Disturbance Analysis | line_analysis |
Compares seismic line segments with the surrounding peatland by disturbance class. |
Raster2Products
These tools make rasters from other rasters, such as a DTM. They run in Python and need no R; they read large rasters in tiles and process each tile in parallel.
| Tool | bt subcommand |
Details |
|---|---|---|
| Normalized DTM from DTM Raster | ndtm_fr_dtmraster |
Subtracts a smoothed DTM from a DTM, so hummocks are positive and hollows negative. |