A simple web app to demonstrate how combining public transport infrastructure data from OpenStreetMap (OSM) with vehicle data can provide insights into the accessibility of individual stops.
The tram network of Karlsruhe is taken as an example because a lot of the platforms mapped in OSM contain height information. To change the network alter the Overpass query at the top of the tools/osm-data/extract-data.ts file.
The app is developed using the Svelte framework and compiled into a static site. Therefore this project requires nodejs and npm to run.
Install dependencies by running:
npm iStart a development server by running:
npm run dev -- --openBuild the app by running:
npm run buildThe OSM data is queried once at compile time via Overpass API. Overpass sometimes throws a 504 error when the server is overloaded. Try running/building the app again after a short period of time.