Takes flowlines from either NHDPlus or hyRefactor and returns dendritic waterbody topology. This maps onto the HY_Features waterbody class and downstream waterbody associations. See: https://docs.opengeospatial.org/is/14-111r6/14-111r6.html#_the_hydrographic_network_model

get_waterbody_edge_list(fline, waterbody_prefix = "wat-")

Arguments

fline

sf data.frame NHDPlus Flowlines or hyRefactor output.

waterbody_prefix

character prefix for waterbody IDs