hydromt_delft3dfm.workflows.set_point_crosssections#
- hydromt_delft3dfm.workflows.set_point_crosssections(branches: GeoDataFrame, crosssections: GeoDataFrame, maxdist: float = 1.0, check_dupl_geom: bool = True)[source]#
Set regular cross-sections from point.
Only support rectangle, trapezoid, circle and yz.
- Parameters:
branches (gpd.GeoDataFrame) – Require index to contain the branch id The branches.
crosssections (gpd.GeoDataFrame) – Required columns: shape,shift The crosssections.
maxdist (float, optional) – the maximum distant that a point crossection is snapped to the branch. By default 1.0
- Returns:
The cross sections.
- Return type:
gpd.GeoDataFrame