After spatial join, only segments near the tree base get the tree ID. This function propagates the tree ID to ALL segments sharing the same ROOT_ID.
Arguments
- joined
An sf object from
join_nearest_tree(), containingROOT_IDand a tree ID column (possibly with NAs).- tree_id_col
Name of the tree identifier column. Default
"TREE_ID".
