R/stream_network_relations.R
normalize_retained_stream_network.RdConverts retained legacy Stream Network features into candidate governed segment and source-lineage relations. Governed Stream and optional Reach identities are supplied separately from the source features and are never inferred from legacy names.
normalize_retained_stream_network(
stream_network,
source_mappings,
configuration,
configuration_streams,
observation,
actor,
source_dataset_name = "stream_network",
created_at = Sys.time()
)Projected `sf` line features from a retained `stream_network` feature class.
Data frame with exactly one row per source feature. `source_row` is the one-based row number in `stream_network`, `stream_id` is required, and `reach_id` is optional. Governed IDs are UUIDs.
One `stream_network_configuration` row.
The corresponding `stream_network_configuration_stream` rows.
One `stream_network_observation` row whose evidence class is `SOURCE_NETWORK_RETAINED`.
Stable actor or process identifier.
Reviewable source feature-class name.
Creation date-time; converted to UTC.
A named list containing `stream_network`, `stream_network_source`, `stream_network_validation_run`, and `stream_network_validation_issue`.
This first normalization slice preserves source geometry and attributes. It does not establish direction, governed topology-node identities, segment role, analyst acceptance, or enterprise identity. Those fields remain explicitly unresolved and are reported in the returned validation issues.