Hello,
Q1: Indeed, ADSB broadcasts data in imperial units and opensky converts them to metric system. That's a choice, and it is a bit uncomfortable for ATM research to have metric system. The option is in the code in a static submethod, I just need to add it to opensky.history(). See status in
github.com/xoolive/traffic/issues/83
Q2: Good point. The last_position column refers to that. You can use the Flight.handle_last_position() (not documented but it's there!) method to put NaN values where need be. Fliht.resample() automatically calls this method first.
traffic-viz.github.io/traffic.core.flight.html
Q3: No method yet (and to be honest, I wouldn't use it...). But if you can write the proper SQL request, we can include the option. Pull requests open
Q4: Not that I am aware of. Please tell me if you find a way.
If you have more questions, please post issues to the github page (it's faster for me to be aware of questions!), and questions would benefit fellow users.
Xavier