Skip to content

A lightweight CLI tool for visualizing and comparing vessel routes from Excel files. It calculates the Euclidean and mean absolute distances between two lines, and displays a clear plot of both.

Notifications You must be signed in to change notification settings

M00N7682/route-inspector

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Route Inspector

Route Inspector is a simple CLI tool to compare and visualize two vessel routes from an Excel file.

It automatically loads the first two sheets, interpolates their paths based on longitude, calculates the similarity between the routes using Euclidean and Mean Absolute Distance, and visualizes them.


✨ Features

  • Automatically detects and compares the first two sheets in an Excel file
  • Interpolates latitude values based on a shared longitude range
  • Calculates route similarity:
      1. Euclidean Distance
      1. Mean Absolute Distance
  • Displays matplotlib-based route visualization
  • CLI-based input (compatible with .exe builds)

🚀 How to Use

1. Run the program

Using Python:

python main.py

Or using the compiled .exe file:
./main.exe

About

A lightweight CLI tool for visualizing and comparing vessel routes from Excel files. It calculates the Euclidean and mean absolute distances between two lines, and displays a clear plot of both.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published