Skip to content

LynnDelpy/TramKompass

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TramKompass (ÖV Europe)

Swiss-first public transport route search with an optional Europe mode (rail + beta flight/bus suggestions).

Live: https://tramkompass.ch/tramkompass

Main routes

  • GET /tramkompass
  • GET /tramkompass/stops?query=...
  • GET /tramkompass/search?...
  • GET /tramkompass/search-eu?...
  • Legacy redirects: /transit, /transit/stops, /transit/search

Stack

  • Backend: FastAPI (server/app.py)
  • Frontend: single-page HTML (web/transit.html)
  • Optional Next route prototype: next-api/transit/route.js

Data providers

  • transport.opendata.ch
  • data.bs.ch (dataset 100065)
  • router.project-osrm.org
  • OpenStreetMap / Leaflet

Notes

  • Coordinate handling is normalized because transport providers occasionally swap axis order.
  • Basel accessibility overlays are route-aware (only stops used by candidate legs).
  • Europe mode currently mixes live rail with synthetic flight/bus options (clearly marked beta).

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages