Skip to content

Ignore lat/long/altitude of 0,0,0, or invalid fixes #354

@tris

Description

@tris

There are a few invalid track points near the beginning of this recording (which render a line all the way across the planet):
https://flyxc.app/?id=5075417361285120

IGC attached below -- focus on these lines:

B1810463645902N11905883WA0135101418
B1810473645902N11905883WA0135101418
B1810530000000N00000000EV0135100000
B1810540000000N00000000EV0135100000
B1810550000000N00000000EV0135100000
B1810570000000N00000000EV0135100000
B1811020000000N00000000EV0135100000
B1811033645901N11905884WA0135101417
B1811043645901N11905884WA0135101417

According to the IGC spec, "fix validity" is a bit overloaded -- "V" can mean either that the fix is missing altitude, or that GPS is lost completely. ("Pressure altitude data must continue to be recorded", which I suppose is why these lines are in here at all.). So, I guess flyXC should look for lat/long of 0 and discard those useless points.

2025-04-20-XNA-28E8BCE2E385AAD296C1CD2EB6FCC2A3-01.igc.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions