Back to projects
Route Planning

Route Planning

Niket Girdhar / June 28, 2024

This project was a part of my internshit at DigiMantra


Problem Statement

While planning to deliver shipments from say Point A to Point B, we have a lot of paths and transportation services available, but which path will give us the least distance? Or which path takes the least time?

That is something we need to find manually and it can be incorrect


Agenda

  • Find all the available routes from origin to destination
  • Calculate distances and times of all routes
  • Give back the path with least distance

Technologies/APIs used

  • Python 3.x
  • FastAPI
  • Google Maps API
  • Searoutes python library
  • Amadeus for Developers API
  • Openrouteservices API

Structure

  • app.py #had the FastAPI code to wrap the overall output
  • routeplan #custom library
    • airways.py #logic for calculating the route via air
    • seaways.py #logic for calculating the route via sea
    • landways.py #logic for calculating the route via land
    • init.py

Project Collaborators:

  • Harsimran Singh: Supervisor and Guide
  • Shrey Kakkar: Supervisor and Guide
  • Niket Girdhar (me)