Comment by Thlom

2 days ago

Ships over a certain size are obligated to report their position (and some other information) over AIS (similar to ADSB on airplanes. It's meant for other nearby ships and ports for navigational purposes. These are tracked from shore based scanners, scanners on ships and satellites. You can see partly real-time data on marinetraffic.com and vesselfinder.com