Skip to main content

Module resolve

Module resolve 

Source
Expand description

Detection resolution (topological / coordinate → ResolvedAnchor) (T018, T030).

Converts validated, time-filtered Detection values into ResolvedAnchor values plus per-detection DetectionRecord provenance entries.

Topological detections (those carrying a netelement_id) resolve directly. Coordinate-only punctual detections are reprojected to the network CRS and matched to the nearest netelement via a linear scan (crate::path::candidate::calculate_closest_point_on_linestring). A detection whose nearest netelement is farther than cutoff_distance_m is discarded with DiscardReason::OutOfReach.

Structs§

ResolutionOutcome
Per-detection resolution outcome.

Functions§

resolve_detections
Resolve every kept detection into an anchor (or a discard record).