Bus Time Tool
This web-based tool makes it easy for the end users to access bus trajectory data and to query it without any delay or external help. Moreover, the tool allows the users to conduct a series of data visualization and analysis operations demonstrating the potential of a such web-based tool for future applications.
The tool was first presented in the paper:
Data Visualization Tool for Monitoring Transit Operation and Performance
Abdullah Kurkcu, Fabio Miranda, Kaan Ozbay and Cláudio T. Silva
2017 5th IEEE International Conference on Models and Technologies for Intelligent Transportation Systems (MT-ITS)
Table of contents
Installing prerequisites
The following are prerequisites for all systems:
- MongoDB
- Python 2.7
Linux (Ubuntu, Linux Mint)
-
Make sure you have Python 2.7:
sudo apt-get install python2.7
-
Install MongoDB following the steps at mongodb.com
macOS
-
Make sure you have Python 2.7:
brew install python
-
Install MongoDB following the steps at mongodb.com
Running:
-
Unzip the file
sample2M.csv.zip
(inside data folder). -
Initialize MongoDB with a sample of bus pings by running:
python export_csv_to_mongo.py ./sample2M.csv -e
This will create a new database and also populate it with the samples provided in the csv file.
For detailed information of how to use export_csv_to_mongo.py, type:
python export_csv_to_mongo.py --help
-
Initialize the webserver:
python server.py
-
A new browser window will open with the tool: