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

Add route bus stops to timetable map #26

Open
houbly opened this issue Dec 17, 2021 · 0 comments
Open

Add route bus stops to timetable map #26

houbly opened this issue Dec 17, 2021 · 0 comments
Labels
backend support required Backend developer support needed enhancement New feature or request

Comments

@houbly
Copy link
Contributor

houbly commented Dec 17, 2021

What

The map view for each bus/tram timetable should show the route of the service on the map with the different stops plotted to the maps. See https://www.figma.com/file/0EvvTWMZXlKDrQ9WcINGsn/Station-and-Stops?node-id=534%3A16080. There are currently some issues with data inconsistencies for the latitude and longitude points of the stations when getting the sequence data from the APIs so this will require some backend support to find and fix the issues.

APIs

Polyline coordinates for bus/tram routes: journeyplanner.networkwestmidlands.com/api/TimetableStopApi/getRouteMap/:stateless/:version/:direction/:when/Tfwm-Api/Line/:lineid/Route/sequence/:direction

Route sequence with stop coordinates:
api.wmnetwork.co.uk/Tfwm-Api/Line/:lineid/Route/sequence/:direction

Example coordinate inconsistencies with 11 bus route:
image

Example with route showing correctly (tram):
image

@houbly houbly added backend support required Backend developer support needed enhancement New feature or request labels Dec 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend support required Backend developer support needed enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant