Skip to main content

export_hmm_candidate_netelements

Function export_hmm_candidate_netelements 

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

Export Phase 4 – All candidate netelements with aggregate probabilities as GeoJSON

Produces a FeatureCollection with LineString features for every netelement that was considered as an HMM candidate state, annotated with aggregate emission probabilities and a flag indicating Viterbi path membership.

Properties per feature:

  • netelement_id – netelement identifier
  • avg_emission_probability – average emission probability across matched positions
  • position_count – number of GNSS positions for which this was a candidate
  • in_viterbi_path – whether this netelement is part of the decoded path
  • is_bridge – whether this segment was inserted as a topological bridge