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 | 8237 | June 20, 2021 | |
Data Interpolation on a spherical or geographic coordinate system | 1 | 424 | March 13, 2022 | |
Linear interpolation to find a GPS location (latitude, longitude) between two given GPS locations (latitudes, longitudes) using Julia | 8 | 3178 | June 12, 2019 | |
Latitude and longitude decimal range from degrees | 33 | 291 | December 20, 2024 | |
[ANN] CoordRefSystems.jl | 47 | 2712 | December 13, 2024 |