Merging all river segments between confluences
Source:R/TNETshape_mergeSegments.R
TNETshape_mergeSegments.Rd
This function will merge all segments between 2 confluences into 1 segment.
Usage
TNETshape_mergeSegments(path_segments, path_node,ID_exutoire = NULL,path_export, suffix_export='')
Details
This function will merge all segments between 2 confluences into 1 segment. All info from the most downstream segment is kept. Segment length is updated.
Here a figure resuming the computation done in this function:
