iGo

iGo

Drive in no time through the city.

DescriptionHow To UseDownloadCreditsRelated

Description

iGo is designed to calculate time-saving car routes through the streets of a city. It can calculate these routes by using only the length and maximum speed of a street, but you will make the most of it if the city in question has an open data policy about street congestion state.

This project was originally designed and intended to work with data from Barcelona, Catalonia.

How to use

You can use iGo either through the igo.py module or through the Telegram bot implemented in bot.py, in the following link (if the bot is running).

iGo

iGo is the heart of the interface, every function has been thoroughly documented in the igo.py file plus we consider our code to be very understandable for every user.

Bot

At first, the Bot downloads all the information needed which may take a few seconds. If two go or map type commands are executed within a time gap greater than five minutes a new download of the traffic data will be performed. bot.py has the following functions:

Download

Make sure you can run python commands, copy the following lines in your terminal and execute.

git clone git@github.com:Atellas23/igo-ap2
cd igo-ap2
pip install -r requirements.txt
< /pre>
       

Credits

This interface is created by Àlex Batlle and Pere Cornellà.

Jordi Cortadella and Jordi Petit: Project statement (only in Catalan).