Coder Social home page Coder Social logo

gtfspy-webviz's Introduction


gtfspy-webviz

Visualizing public transport schedule data (GTFS) interactively in a web-browser.

Screenshot

A live demo can be found here: http://transportnetworks.cs.aalto.fi/webviz/. See also this video showing how-to use the tool.

Prerequisites

An easy way to get things going with Python 3.5 is to use conda:

conda create --name gtfspy-webviz python=3.5
source activate gtfspy-webviz
pip install -r requirements.txt
npm install

How-to

First import GTFS data using the gtfspy Python package into an SQLite directory stored on disk. An example how to do this..

Change the DB_DIR variable in the settings.py file to point to the directory where you have stored the SQLite database. If you have stored the database with another file ending than what is listed in the settings.py, please add the file ending to that list.

Run the following in the terminal:

python run.py # starts the backend-development server
npm start # starts the development environment

Open http://localhost:8080/ in your browser. Enjoy.

License

All files under directories src/js src/html src/css are licensed under MIT license. For the licenses of the Javascript libraries under src/lib, please see their source code.

To build the front-end for deployment elsewhere

npm run-script build

Main author

@rmkujala, [email protected]

Other contributors

Richard Darst, Christoffer Weckström

Acknowledgements

The development of this visualization tool has benefited from the support by Academy of Finland through the DeCoNet project.

See also

gtfspy Python package for analyzing public transport networks

gtfspy-webviz's People

Contributors

rmkujala avatar kant avatar rkdarst avatar

Watchers

James Cloos 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.