Public Transport Network Analysis
Check out the new tool PTSA - Public Transport Stop Analysis provided by Jens. See the announcement "New tool for analysing OSM public transport stop data" (2024-10-03) in the OSM Community.
PTNA provides a daily analysis of public transport lines mapped in OSM.
Such lines are described in OSM by relations of type 'route' and 'route_master' and the categories 'train', 'subway', 'bus', ...
The analyzes are carried out for selected areas and networks.
Adding more areas and networks is fairly easy and quick.
Please refer to the FAQ.
PTNA is currently undergoing major renovations. See the announcement in the community forum.
You might notice some new error message like "Error in input data: insufficient data for relations".
You might also notice error messsages regarding route relations vanishing from the report, shown as "Missing route for 'ref'='?' and 'route'='?'", which do actually exist in OSM.
Those messages may pop up due to the different types of queries supported by Overpass API and osmium.
Please let me know where this happened (analysis report, 'ref' of route, relation-ID, ...), that can be fixed.
PTNA also provides an analysis of GTFS data.
GTFS stands for "General Transit Feed Specification" - "The General Transit Feed Specification (GTFS) is an Open Standard used to distribute relevant information about transit systems to riders. It allows public transit agencies to publish their transit data in a format that can be consumed by a wide variety of software applications." [GTFS].
The analyzes are carried out for selected GTFS sources.
Adding more GTFS sources is fairly easy and quick but requires licenses which are compatible with OSM.
Please contact me if you would like to see another GTFS source.
There is an OSM Wiki page on how to tag GTFS related stuff.
Noémie Lehuby, from Jungle Bus (@GitHub), has published a long blog post explaining the GTFS format, the steps to follow and the tools that can be used to map public transport routes and stops in OpenStreetMap from a GTFS open dataset.
Have a look at the weeklyOSM 530 and her blog (en français), in English and in Deutsch.
Branko Kokanovic wrote a new console app that takes GTFS as an input and tells you the exact changes you’ll need to do in OSM to make it as close to the GTFS feed as possible. [weeklyOSM 550]
Here is a short introduction in the community channel about using GTFS with PTNA for OSM (german).
Please help translate PTNA. Translations are available, but most of them are (very) incomplete. Translations for the OSM analysis results of PTNA are hosted on TransiFex. Translations for the other web pages can be added @ GitHub.