Vertical sections: toggle region that is shaded w.r.t.the flight track

Issue #79 wontfix
Marc R. repo owner created an issue

Currently only the region below the flight track can be shaded; this should be customizable so that the region above the flight track can be shaded instead.

Comments (6)

  1. Joern Ungermann

    I had a look at this, and this feature is astonishingly complicated to realize. Currently, the fill of the flightpath is handled by the matplotlib path object that captures the flight path. This has the drawback, that the filling of the flightpath only works properly if the altitude of the first and the last waypoint are at ground level. The fill is then simply a function of filling the polygon defined by the path. The path is currently updated using several mechanisms and methods in a class structure that is specialized for vertical and horizontal paths. To implement a proper filling above/below the flightpath, in effect a separate Polygon has to be defined with two additional points above/below the flightpath at appropriate altitudes according to the configuration of the window. I currently do not see a way to realise this on-the-fly with without doubling/implementing a lot of functionality. This seems to be a lot of effort for this feature. I propose to simply close this as wontimplement.

  2. Log in to comment