You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 11, 2022. It is now read-only.
It should find the nearest train station instead, and also warn that it cannot look up bus routes.
To do this we might need to add all towns into the list of stations, and a flag indicating if the town has a station. We also need to add the coordinate location for each item, existing and new. All of this was already present in the stations.xml file as downloaded from the NS dev page, which was stripped down when we started using it. We can download it again without stripping it down.
When the station search returns a location with no station, it should search the list again, looking for the nearest train station to the requested location. This could take a few seconds per request, so we should add a rate-limit to this feature.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
It should find the nearest train station instead, and also warn that it cannot look up bus routes.
To do this we might need to add all towns into the list of stations, and a flag indicating if the town has a station. We also need to add the coordinate location for each item, existing and new. All of this was already present in the stations.xml file as downloaded from the NS dev page, which was stripped down when we started using it. We can download it again without stripping it down.
When the station search returns a location with no station, it should search the list again, looking for the nearest train station to the requested location. This could take a few seconds per request, so we should add a rate-limit to this feature.
The text was updated successfully, but these errors were encountered: