Skip to content

Adding flight tracks, straight lines between points #643

Description

@ajpanton

The bug

Normally, Airtrail draws arcs between airports that track the curvature of the earth. Or, in globe view, it draws straight lines across the surface of the globe.

However, when adding track data for a flight, which consists of points along the flight path, Airtrail draws straight "flat earth" lines between each of these points.

Here's an extreme example when I recently flew over the North Pole. First screenshot is from the flat view. Notice the straight lines:
Image

Here's what this looks like on the round globe:
Image
Yeah, not a globe-aware straight line at all.

Operating System that is running AirTrail

TrueNAS SCALE 25.10 (Debian, Docker)

AirTrail Version

v3.11.1

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