For accuracy better than 0.5% there is the Haversine formula - see Julia code here.
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
Geodesy: how to calculate the straight line distance between two locations, which is represented by longitude and latitude? | 29 | 8284 | June 20, 2021 | |
Data Interpolation on a spherical or geographic coordinate system | 1 | 432 | March 13, 2022 | |
Linear interpolation to find a GPS location (latitude, longitude) between two given GPS locations (latitudes, longitudes) using Julia | 8 | 3182 | June 12, 2019 | |
Latitude and longitude decimal range from degrees | 33 | 293 | December 20, 2024 | |
[ANN] CoordRefSystems.jl | 48 | 2947 | March 21, 2025 |