EcoRoutes is a comprehensive routing application tailored for Singapore's transport system. Providing users with real-time, eco-friendly travel options, EcoRoutes aims to usher in a more sustainable transport culture. We firmly believe that EcoRoutes stands as a significant stride towards a greener future, enabling individuals to understand and minimize the environmental impact of their travel choices.
- Hardware Requirements
- Modern Operating System:
- Windows 7 or 10 or above.
- Mac OS X 10.11 or higher, 64-bit or above.
- Linux: RHEL 6/7, 64-bit (almost all libraries also work in Ubuntu) or above
- x86 64-bit CPU (Intel / AMD architecture) or above.
- 4 GB RAM or above.
- 5 GB free disk space or above.
- Modern Operating System:
- Software Requirements
-
Python 3.6 or above.
After installation run the following command to upgrade pip:
python -m pip install --upgrade pip
-
Any web browser, preferbly Google Chrome.
-
Any Python IDE, preferbly Visual Studio Code or PyCharm.
-
Dependencies required :
-
Osmnx - Python for street networks.
pip install osmnx
Note : If you are having trouble installing osmnx using this method, install it via conda.
-
Flask - Python web framework.
pip install flask
-
Matplotlib - Python plotting library.
pip install matplotlib
-
Networkx - Python package for the creation, manipulation, and study of the structure, dynamics, and functions of complex networks.
pip install networkx
-
Pandas - Python data analysis library.
pip install pandas
-
Geopy - Python client for several popular geocoding web services.
pip install geopy
-
Folium - Python data, leaflet.js maps.
pip install folium
-
Scikit-learn - Python machine learning library.
pip install scikit-learn
-
Download and install Anaconda.
-
Launch VSCode or PyCharm.
-
Import the project folder.
-
Install osmnx at terminal
-
To do that run the following command in terminal :
conda install -c conda-forge osmnx
-
Refer to osmnx if above command fails.
-
-
Install the other dependencies.
Run the python file "app.py"
You will receive a local url which you can click on it to open the application in your prefered web browser.
Enter your Starting Location and Destination in the respective fields.
Choose your mode of transport from the dropdown menu.
-
If you choose Car, you may proceed to click on the
Let's Go!
button to view the route. -
If you choose Public Transport, you have to choose your preference in the drop down box below. You may then proceed to click on the
Let's Go!
button to view the route.
Do take note that the application will take a few seconds to load the route.
- Munir
- JJ
- Travis
- Alan
- Shaoyu