Skip to content
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

Open
Haroenv opened this issue Jan 28, 2017 · 2 comments
Open

Make directions adjustable #6

Haroenv opened this issue Jan 28, 2017 · 2 comments
Milestone

Comments

@Haroenv
Copy link
Member

Haroenv commented Jan 28, 2017

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 ...

@Haroenv Haroenv added this to the after-dekrook milestone Jan 28, 2017
@Haroenv
Copy link
Member Author

Haroenv commented Jan 30, 2017

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"
  }
]

@Haroenv
Copy link
Member Author

Haroenv commented Jan 31, 2017

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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants