Skip to content

Algorithm to determine all vessel proximity events (two vessels having different MMSIs come within a threshold distance) during a given time frame.

Notifications You must be signed in to change notification settings

anu30singh/GeoVesselProximity

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

Vessel Proximity Detection

Overview

This script analyzes vessel proximity events using data from a CSV file. It calculates when vessels come within a specified distance threshold and visualizes the results using Matplotlib and Plotly.

Dependencies

  • pandas: For data manipulation.
  • geopy: For calculating geographical distances.
  • matplotlib: For plotting with Matplotlib.
  • plotly: For interactive plotting.

Input Data

The input is a CSV file with the following columns:

  • mmsi: Maritime Mobile Service Identity (9-digit vessel ID)
  • timestamp: Timestamp of the vessel position
  • lat: Latitude of the vessel
  • lon: Longitude of the vessel

Background:

Marine vessels, including container ships, cargo ships, passenger ships, and others, are assigned a unique 9-digit number called the Maritime Mobile Service Identity (MMSI). This number is used to uniquely identify each vessel.

Haversine Distance Formula:

The Haversine formula calculates the distance between two points on the surface of a sphere using their latitudinal and longitudinal coordinates. It accounts for the spherical shape of the Earth to provide an accurate distance measurement.

About

Algorithm to determine all vessel proximity events (two vessels having different MMSIs come within a threshold distance) during a given time frame.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages