hydromt_delft3dfm.workflows.snap_geom_to_branches_and_drop_nonsnapped#

hydromt_delft3dfm.workflows.snap_geom_to_branches_and_drop_nonsnapped(branches: GeoDataFrame, geoms: GeoDataFrame, snap_offset=0.0)[source]#

Snap geoms to branches and drop the ones that are not snapped.

Returns snapped geoms with branchid and chainage. Branches must have branchid.