FOSS4G Europe 2024 workshops


Working for a while with data and open-source packages, and a fan of transferring knowledge through tools. Interested in sustainable mobility and neuropsychology.


From OpenStreetMap to GTFS to website for public transport.

Creating a website for informing citizens on the bus map, schedules, routing, takes time and commitment from the institutions. They need to make sure that the stations are correct, the schedules dynamic (as there are changes all the time), the public infrastructure data is updated (e.g., for accessibility), and then the generation of the website takes its own process (incl. procurement, auditing). This process is not always straightforward, as there are difficulties in standardizing all this information and creating a streamline process for a modest municipality.

The OpenStreetMap transport layer is informative and resourceful. By interacting with several tools, there is a way to generate public transport websites for municipalities that can be based directly on OpenStreetMap database of transport infrastructure. In this workshop we will go through the process of generating a PT website for a municipality, through the following steps:

  • explore the OSM Transport layer
  • explore the GTFS
  • decide on a city (eg. Prishtina in Kosovo, Durres or Tirana in Albania, or your city)
  • create a timetable for 2-3 lines through easy-timetable-generator (or smth else)
  • use osm2gtfs to create gtfs information (and debug possible issues that you might face)
  • validate gtfs you created (lines, directions, routes, platforms)
  • use of GTFS-to-HTML for creating grouped schedules
  • (optional) integrate transit-departures-widget
  • (optional) tweak maps to integrate accessibility icons
  • generate website, beautify

This process will provide some insight on how OSM relations work, how to integrate the OSM data with frequency data (to produce GTFS), and how to prettify this information for citizens.

Room 335