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

Use shapes.txt from GTFS #92

Open
vsp-gleich opened this issue Jul 23, 2019 · 2 comments
Open

Use shapes.txt from GTFS #92

vsp-gleich opened this issue Jul 23, 2019 · 2 comments

Comments

@vsp-gleich
Copy link

Many (but not all) GTFS Providers include a shapes.txt file. This includes among others some major public transit networks such as VBB (Berlin), OV (the whole Netherlands), Wiener Linien (Vienna), Trafiklab GTFS Regional SL (Stockholm).
I was wondering whether it would make sense to use these shape files in order to have more waypoints (in addition to the stop coordinates) and thereby more precise routes. At least for VBB the shape files seem to provide significantly more detailed information than the stop locations only.
Is there any particular reason why shapes.txt is not used yet (except of no time to implement it - which is a very good reason :-) )?

@polettif
Copy link
Contributor

There actually is a mapper implementation that uses gtfs shapes to improve mapping accuracy: ScheduleRoutersGtfsShapes. However, it's only a proof of concept and its documentation is lacking. I don't know if it still works, the config has changed quite a bit in the meantime. PTMapperShapesTest might give you some pointers. Let me know if you were able to make it work :)

The base mapper was intended to work without additional data like shapes.txt or GPS points. After that I didn't have time (and still don't) to expand the workflow/docs for other implementations. But the general idea for any improved mapper is to modify the link costs, so links closer to the route shape get reduced routing costs.

@vsp-gleich
Copy link
Author

Thank you for your quick response :-)
I was not aware of that class, so thanks for the pointers! We might give a student the task to look into that. I will let you know if there is some progress.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants