Reconstruction of Public Transport Routes Based on Imperfect GTFS and OpenStreetMap Data
An Analytical Approach to Improve the SUMO Gtfs2pt Tool – Developed and Evaluated by an Example of Magdeburg in Germany
DOI:
https://doi.org/10.52825/scp.v7i.3240Keywords:
Public Transport, Route Reconstruction, GTFS, OpenStreetMapAbstract
A path-accurate simulation of individual bus, tram and train trips through a certain area requires accurate route data. If this is not given, e.g. as shape file from the public transport company, a reconstruction in SUMO is possible by means of the existing “gtfs2pt” tool, which imports and processes public GTFS and OSM data. However, the reconstruction of true routes often fails due to missing or outdated shapes in OSM, or due to inaccurate polylines in the GTFS shapes file, which often includes only stop locations and no further waypoints. Then gtfs2pt searches the fastest path between stops, which mostly results in the true route, particularly for a tram or train line (if alternative pathes simply do not exist), but not in cases of bus lines within a dense road network. Therefor a map-matching approach based on GPS traces was recently proposed at the last SUMO Conference (by Schweppenhäuser et al., 2025). While these traces were given for Berlin in the corresponding GTFS shape file, this approach is not applicable to areas, e.g. Magdeburg, where they are not available in the local GTFS data. Hence, a more generic approach for bus routes is required and proposed in this article, which is in line with gtfs2pt in terms of using open data sources (GTFS, OSM) and intends to improve the optimal path searching. This is achieved by a) limiting the set of potential edges for bus routes according to reasonable edge criteria (e.g. used by other bus lines given from OSM, type and priority of edge, etc.), and b) searching the shortest path between all consecutive stops of a bus trip (i.e. not isolated between only two consecutive stops). As the latter was already applied and tested successfully for tram lines in a previous article (by Kaiser and Schmaus, 2025), it is adapted and tested more verbose for bus lines in this article. Finally, the results and computation time of this approach are compared with the ground-truth as well as the output of gtfs2pt by an example of public transport trips in Magdeburg, to evaluate accuracy and performance.
Downloads
References
[1] M. Schweppenhäuser, T. Großmann, K. Schrab, R. Protzmann, and I. Radusch, “Modeling Bus Traffic for the Berlin SUMO Traffic Scenario,” SUMO Conference Proceedings, vol. 6, pp. 101–115, 2025, doi: https://doi.org/10.52825/scp.v6i.2613.
[2] Otto-von-Guericke-Universität Magdeburg. “IMIQ - Intelligenter Mobilitätsraum im Quartier.” [Online]. Available: https://www.niimo.ovgu.de/IMIQ.html
[3] P. A. Lopez et al., “Microscopic Traffic Simulation using SUMO,” in The 21st IEEE International Conference on Intelligent Transportation Systems, IEEE, 2018. [Online]. Available: https://elib.dlr.de/124092/.
[4] A. Schaffland, J. Nelson, and J. Schöning, “Simulating Traffic Networks: Driving SUMO towards digital twins,” SUMO Conference Proceedings, vol. 5, pp. 113-125, 2024, doi: 10.52825/scp.v5i.1105.
[5] M. Pechinger and J. Lindner, “Sumonity: Bridging SUMO and Unity for Enhanced Traffic Simulation Experiences,” SUMO Conference Proceedings, vol. 5, pp. 163–177, 2024, doi: 10.52825/scp.v5i.1115.
[6] A. Kaiser and A. Schmaus, “Processing of Public Transport Data from GTFS and OSM for an Up-to-Date Simulation of Trips in SUMO,” in Transport Systems Development – Methods and Solutions. Cham: Springer, 2026, pp. 25–46, doi: 10.1007/978-3-032-14826-1_3.
[7] H. Blache and N. Saunier, “Is It Possible to Automatically Build a Large Scale Metropolitan Traffic Model? Evidence from a Study of Connected Transportation Applications in Montreal” in Transportation Research Procedia, vol. 82, pp. 495-514, 2025, doi: 10.1016/j.trpro.2024.12.057.
[8] L. Codeca, R. Frank, and T. Engel, “Luxembourg SUMO Traffic (LuST) Scenario: 24 Hours of Mobility for Vehicular Networking Research,” in 2015 IEEE Vehicular Networking Conference (VNC), 2015, pp. 1–8, doi: 10.1109/VNC.2015.7385539.
[9] K. Schrab, R. Protzmann, and I. Radusch, “A Large-Scale Traffic Scenario of Berlin for Evaluating Smart Mobility Applications,” in Smart Energy for Smart Transport. Cham: Springer, 2023, pp. 276–287, doi: 10.1007/978-3-031-23721-8_24.
[10] OpenStreetMap contributors. “Planet dump retrieved from https://planet.osm.org.” 2017. [Online]. Available: https://www.openstreetmap.org/.
[11] MobiltyData. “General Transit Feed Specification (GTFS).” [Online]. Available: https://gtfs.org/
[12] OpenData ÖPNV and Verkehrsverbund Rhein-Ruhr. „Deutschlandweite Sollfahrplandaten (GTFS).“ [Online]. Available: https://www.opendata-oepnv.de (accessed: 26.01.2026)
[13] G. Cich, et al., “Data Preparation to Simulate Public Transport in Micro-Simulations Using OSM and GTFS,” in Procedia Computer Science, vol. 83, pp. 50-57, 2016, doi: 10.1016/j.procs.2016.04.098.
[14] J. Vuurstaek, et al., “GTFS Bus Stop Mapping to the OSM Network,” in Procedia Computer Science, vol. 109, pp. 50-58, 2017, doi: 10.1016/j.procs.2017.05.294.
[15] German Aerospace Center (DLR) and others. „ SUMO User Documentation - GTFS - gtfs2pt.py.“ [Online]. Available: https://sumo.dlr.de/docs/Tools/Import/GTFS.html (accessed: 10.02.2026)
Downloads
Published
How to Cite
Conference Proceedings Volume
Section
License
Copyright (c) 2026 Alexander Kaiser, Alexander Schmaus
https://creativecommons.org/licenses/by/3.0/de/deed.en