Re:Rust and Raspberry Pi Tide Clock
by Already__Taken on Sunday October 11, 2020 @02:12PM
(#24747787)
> coasts technically have infinite length
Gloss indeed, I think you'd be find just doing the straight line distance between stations. Possibly radius' if it's a long way. We just need the relative distance to/from places not that actual surface area.
If that's not good enough it'd be time to skip re-inventing the wheel and use the secondary port calculation.
The kicker here is that tides don’t necessarily transition smoothly as you walk the coastline, they can have sharp discontinuities, and so you need to manually figure out where those are and put “search barriers” on them.