pub fn export_path_sanity_decisions<P: AsRef<Path>>(
debug_info: &DebugInfo,
output_path: P,
) -> Result<(), ProjectionError>Expand description
Export Phase 5 — Post-Viterbi path sanity decisions as GeoJSON
Produces a FeatureCollection with one Point feature per consecutive segment pair evaluated during navigability validation. Each feature is placed at the midpoint of the from-netelement’s geometry.
Properties per feature:
pair_index— sequential index of the pair (0-based)from_netelement_id— source netelementto_netelement_id— target netelementreachable— whether the target was reachableaction— “kept”, “removed”, or “rerouted”rerouted_via— comma-separated NE IDs of bridge segments (empty if N/A)warning— warning message (empty if reachable)