Skip to content

Latest commit

 

History

History
10 lines (8 loc) · 1.62 KB

README.md

File metadata and controls

10 lines (8 loc) · 1.62 KB

OSM public transit

This is a collection of APIs, tools and other cool things that access OpenStreetMap to find or deliver information about public transportation.

Maps

Generate horizontal line maps that show stops (including one-ways). Currently a bug exists that may show some stops twice. The API generates an SVG with each map. Here is how the URL structure works: http://www.overpass-api.de/api/sketch-line?network=NETWORK&ref=LINE&operator=OPERATOR, where NETWORK is a transport network, like the VVO in Germany, LINE is a line number, for example "12" for the tram line in Dresden, Germany, and OPERATOR is a vehicle operator underneath the network, like DVB. This would produce the following SVG (converted to PNG to display here):

Generate schematic line maps that show stops. Currently a bug exists that may show some stops twice. The API generates an SVG with each map. Here is how the URL structure works: http://www.overpass-api.de/api/draw-line?network=NETWORK&ref=LINE, where NETWORK is a transport network, for example the VVO in Germany, and LINE is a line number, for example "8" for the tram line in Dresden, Germany. This would produce the following SVG (converted to PNG to display here):