Main Page

From wikibase-docker
Jump to navigation Jump to search

Topological database of transit objets

What

Public transit data is often represented in the GTFS format by the data producer.

That file contains information about stops, routes and timetables.

This database has the ambition to hold all the topological information (stops, relationships between the stops and lines, networks, etc.) but not the timetables, worldwide.

Why

While a single GTFS file is often enough for a local information, we sometimes need to:

  • improve the data (sometimes according to subjective point of view)
  • link two datasets from two different transit operators
  • link the data to other databases (like OpenStreetMap
  • suggest improvement in the data (geo-localisation fix, name improvements…)

How

We use the semantic database that runs WikiBase.

By whom

This instance is for now an experiment and not the final version. It is operated by the https://transport.data.gouv.fr team, but we hope it will be managed by a community in a later stage.

Every contribution is more than welcome.

Status

We developped tools to import GTFS files: https://github.com/etalab/transport-topo/

With this tool we imported all the French open data GTFS (about 50,000 stop areas and 150,000 stop points).

Next steps include:

  • automatically import new files
  • be able to generate an improved GTFS file (better names…)
  • generate a GTFS files where the shape are extracted from OpenStreetMap
  • build tools to suggest that two stop points from two GTFS file refer to the same entity

Figures

Some figures on the datasets loaded:

Number of loaded datasets:

nb_datasets
176
18:01:46 07/12/2020 -- Refresh -- Duration of query :0.207s -- CSV


Number of stop areas:

nb_stop_areas
52565
18:01:46 07/12/2020 -- Refresh -- Duration of query :0.661s -- CSV


Number of stop points:

nb_stop_points
134838
18:01:48 07/12/2020 -- Refresh -- Duration of query :1.391s -- CSV


Number of routes:

nb_routes
7031
18:01:48 07/12/2020 -- Refresh -- Duration of query :0.145s -- CSV


Example

Here is an example of the stops we have for Cara'bus, the Royan public transport network: https://topo.transport.data.gouv.fr/wiki/Carabus