I'm working on OTP. I would like to create a graph for Munich (which requieres GTFS and OSM data).
However, there is no gtfs available, so do you know how to convert osm data to GTFS?
I'm working on OTP. I would like to create a graph for Munich (which requieres GTFS and OSM data).
However, there is no gtfs available, so do you know how to convert osm data to GTFS?
There is now osm2gtfs that could help you.
Use public transport data from OpenStreetMap and external schedule information to create a General Transit Feed (GTFS).
The script retrieves current data about public transport networks directly from OpenStreetMap via the Overpass API. It stores the data in python objects and caches on disk for efficient re-use. Then the data is combined with another source of schedule (time) information in order to create a GTFS file using the transitfeed library.
For every new city a new configuration file needs to be created. Additionally, schedule information should be provided. By-default the schedule information is expected to be provided in a certain format. However other formats are supported through extending the code. For any city and schedule format the script can be easily extended, see the developer documentation for more information.
See also transportr.app contribute page that also links to a video example of making your own GTFS feed using osm2gtfs