Skip to contents

Delineate

Map the floodplain from an elevation model and a stream network.

fl_valley_confine()
Delineate unconfined valleys using the Valley Confinement Algorithm
fl_valley_poly()
Convert a binary valley raster to polygons
fl_stream_rasterize()
Rasterize a stream network onto a DEM grid

Get an elevation model

fl_dem_aoi()
Fetch a DEM cropped to an AOI

Per watercourse

Attribute one floodplain to each watercourse, and join per-reach flags to it.

fl_valley_attribute()
Attribute valley cells to the stream groups that produced them
fl_valley_join()
Join per-segment attributes to valley cells by position

Flood levels and parameters

fl_scenarios()
Load flood factor scenarios
fl_params()
Load VCA parameter legend

Pipeline steps

The steps fl_valley_confine() runs, for running or inspecting one on its own.

fl_mask()
Create a binary mask from a raster by thresholding
fl_mask_distance()
Binary mask by Euclidean distance from features
fl_cost_distance()
Accumulated cost distance from stream cells
fl_flood_model()
Run the full flood model
fl_flood_surface()
Compute flood surface elevation at stream cells
fl_flood_depth()
Interpolate flood surface and compute depth above terrain
fl_patch_rm()
Remove small patches from a binary raster

Raster helpers

Combine, subtract or filter binary rasters outside fl_valley_confine().

fl_flood_assemble()
Union multiple binary rasters
fl_flood_trim()
Subtract mask layers from a binary raster
fl_patch_conn()
Keep only patches connected to anchor features