[MDEV-13124] Haversine distance function Created: 2017-06-19  Updated: 2017-06-19

Status: Open
Project: MariaDB Server
Component/s: None
Fix Version/s: None

Type: Task Priority: Major
Reporter: Olaf van der Spek Assignee: Unassigned
Resolution: Unresolved Votes: 1
Labels: None


 Description   

res = haversine_distance(lat, lon, lat, lon); // lat and lon in degrees, res in meters.

Having this function in MariaDB would be nice.

https://en.wikipedia.org/wiki/Haversine_formula
https://stackoverflow.com/questions/574691/mysql-great-circle-distance-haversine-formula


Generated at Thu Feb 08 08:03:05 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.