An interactive way of displaying the Berlin Ubahn system, based on this official map from 2016.
- clicking on the stations brings up wiki info about it and a photo taken at the respective station
- there is also a route finder (from A to B) based on a small Prolog alghoritm
Assuming go
and swipl
are installed:
# build the binaries for the route finder and the server
make all
# run the server on the default port (1323)
./ubahn-map-server
- I created the map using a modified version of d3-tube-map
- the server is a small go application running on echo
- the route finder alghoritm is a Prolog program from a separate repository: skamsie/berlin-subway