-
Notifications
You must be signed in to change notification settings - Fork 79
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New method to detect TOFF runway #463
base: master
Are you sure you want to change the base?
Conversation
@@ -2589,6 +2592,119 @@ def intersects( # type: ignore | |||
# given here for consistency in types | |||
... | |||
|
|||
def get_toff_runway( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can we reuse takeoff_from_runway
but pass an argument (string) with the method which can come to this one? would be more helpful to understand why we need two methods
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I find it a bit confusing because it does not return an iterable while takeoff_from_runway does
Also please consider adding a test 🙇♂️ |
Should be good to go now. |
Some people in Winterthur wanted a function to detect the toff runway so here is an attempt that seems to be working reasonably.
It serves a different purpose than the
takeoff_from_runway
function.