Skip to main content

export_hmm_selected_path

Function export_hmm_selected_path 

Source
pub fn export_hmm_selected_path<P: AsRef<Path>>(
    debug_info: &DebugInfo,
    output_path: P,
) -> Result<(), ProjectionError>
Expand description

Export Phase 5 – Selected Viterbi path netelements as GeoJSON

Produces a FeatureCollection with LineString features only for the netelements that appear in the final Viterbi path (including topological bridge segments).

Properties per feature:

  • netelement_id – netelement identifier
  • avg_emission_probability – average emission probability (0 for bridges)
  • position_count – number of GNSS positions associated (0 for bridges)
  • is_bridge – whether this segment is a topological bridge