< Overpass API

Overpass API/Public transport examples

Overpass API includes a feature to render public transport maps (a kind of linear maps). All the following example links on this wiki page are using the documented {{Sketch Line}} utility template.

Usage

On this page you can choose the network, the line and the operator.

In order to get a specific rendering you can add the style:

  • wuppertal, simple style with German abbreviations (default)
  • padua, simple style with German abbreviations
  • paris, style displaying also connections, with French abbreviations
  • any style you provide.

Other options are summarily documented online on this webform, or better detailed with examples in the documentation of the {{Sketch Line}} template usable on this wiki.

The page display twice the stop of a route-relations using PTv2 as mentionned in this Overpass API issue. There is no plan to fix this problem soon.

Technical limitations

The linear maps system cannot recognise lines with an ampersand in ref=*. This issue affects the Hammersmith/Waterloo & City lines on the London Underground, where trying to do so will return the “No relation found” error.

Examples

France

City/Region Network Lines Issues
Île-de-France RER ABE Boissy-Saint-Léger branch of RER A is disconnected.
All branches of RER B are broken.
Transilien KNPRU Provins branch of Train P faces the wrong way, while the intermediate stations of the Crécy-la-Chapelle shuttle are missing.

Germany

Greece

City/Region Network Lines Issues
Athens Metro Μ1Μ2Μ3 No faults
Tram Τ6Τ7 No faults
Suburban Rail Π1Π2Π3Π4Π5 No faults
Patras Suburban Rail Π1Π2 No faults

Ireland

Japan

Malaysia

  • Rapid Rail (Rapid KL):

912

Switzerland

  • Bernmobil: 10

United Kingdom

United States

Semi-working examples

United Kingdom

Bad examples

This article is issued from Openstreetmap. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.