Closed joabakk closed 6 years ago
Further links from slack discussion: https://github.com/lethexa/lethexa-motionpredict Maybe a starting point: calculate distance, bearing and more between Latitude/Longitude points https://www.movable-type.co.uk/scripts/latlong.html
https://www.npmjs.com/package/geolib may be a start for getting vessels witin a range
A C++ library that contains CPA TCPA calculations https://github.com/mariokonrad/marnav
Mostly note to self: Select a range to calculate CPA and TCPA for vessels within that range, then use formulas similar to http://geomalgorithms.com/a07-_distance.html to calculate CPA and TCPA for these vessels.