Giter Club home page Giter Club logo

commute-city-triangulation's Introduction

Open in Streamlit

Commute city triangulation

This project is intended to find a city in the swiss train network from where you can reach your chosen destinations. It is not intended to show last kilometer (last mile) solutions, but rather overarching city to city train route options.

The displayed routes are only as accurate as the SBB provides. Which means it is fairly accurate but some ghost routes might exist. That means the GTFS data includes a stop in some location, while in reality and on sbb.ch it is not listed. There are a lot of ghost stops in the GTFS data. Stops where the train parks or so I assume but no passengers board.

This works on the GTFS data provided by https://opentransportdata.swiss.

All operations are currently done in memory with pandas. That means the whole GTFS feed is loaded into memory. Might need migration to a database, if the memory requirements are too high.

Usage

Requirements:

  • poetry

Install the dependencies

poetry install --no-root

Be sure to have the latest GTFS zip from which ever preferred source.

The name should be gtfs.zip and located in the root of the project.

There is a example gtfs file provided but it will not be up to date.

git lfs pull

To start the dashboard run:

poetry run streamlit run main.py

Refer to the documentation page on how to use the dashboard and what it conatins.

Info

Deployed version: https://commute-triangulation.streamlit.app/

This dashboard was created in the DVIZ lectures at HSLU. The required project report is also in the repository.

commute-city-triangulation's People

Contributors

yelinz avatar blackary avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.