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

Adding geographical information to api #33

Open
sven4all opened this issue Mar 8, 2023 · 0 comments
Open

Adding geographical information to api #33

sven4all opened this issue Mar 8, 2023 · 0 comments

Comments

@sven4all
Copy link

sven4all commented Mar 8, 2023

I would like to add geographical information into this api, before I start doing the programming work I would like to discuss the approach and if it's desirable to include this information in this application.

  1. Download latest IFF (http://data.ndovloket.nl/ns/)
  2. extract stations.dat from IFF
  3. import all stations in a map stationCode -> wsg84 coordinates and store them in a staticDataStore (simalar to dataStore)
  4. look up stationcodes in the map when processing the JSON requests.

Besides the locations it would also be nice to include shapes of the routes (or at least between two stops) in the future, but I am not sure if there is a good open data source available for that.

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

1 participant