Name: transport-spider
Owner: Tilezen
Description: Utility to walk networks of public transport relations and produce graphics.
Created: 2016-08-10 20:02:46.0
Updated: 2017-05-04 18:11:30.0
Pushed: 2016-08-10 20:03:59.0
Homepage: null
Size: 7
Language: Ruby
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
This is a little Ruby script to generate graphics showing the relationships between OpenStreetMap transport / transit related objects.
You need graphviz installed, as Transport Spider uses that to generate PDFs. Transport spider is written in Ruby, so needs that and the package manager Bundler installed.
After that, run bundle install
in the source directory to complete the
installation.
Type make
. If you want to use a different
Overpass server, then set
that using make OVERPASS_URL=http://localhost/interpreter
, or whatever your
Overpass server is called. Make sure to include the full URL to the interpreter.
Each input is a pair of type,id
which give the OSM type and ID of a station.
For example,
Paddington Station, London, UK is
OSM way number 302026559, so paddington.input
contains way,302026559
.
The Transport Spider downloads that, and looks for relations using it which are part of the public transport schema and follows the “web” of connections until it finds transit lines.
More detail on the procedure can be found in the blog post.