-
Notifications
You must be signed in to change notification settings - Fork 0
-
Notifications
You must be signed in to change notification settings - Fork 0
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
Make directions adjustable #6
Milestone
Comments
proposal: there should be a new key “directions” in the config.json "directions": [
{
"longitude": 3.710675,
"latitude": 51.035896,
"name": "Antwerpen"
},
{
"longitude": 3.710675,
"latitude": 51.035896,
"name": "Brugge"
},
{
"longitude": 3.710675,
"latitude": 51.035896,
"name": "Kortrijk"
}
] |
Those coordinates should be a point on the real railway track separating the directions. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
now it’s wind directions always because that happened to match for Ghent, other stations will need that check to be different.
We should get the closest of the directions (which is a point), and that should work.
Now we just literally check the direction with latitude > gent.latitude ...
The text was updated successfully, but these errors were encountered: