Geodesy.jl icon indicating copy to clipboard operation
Geodesy.jl copied to clipboard

shortest distance between two points

Open lazarusA opened this issue 4 years ago • 2 comments

Probably a very naive question.

But, is it possible to obtain the shortest distance between two points (geodesic) with this package and if so, how? A second question will be, how do I get the corresponding geodesic line data for this case?

lazarusA avatar Feb 28 '21 16:02 lazarusA

I think so far we only have euclidean_distance implemented.

There was a PR to add a great-circle calculation: https://github.com/JuliaGeo/Geodesy.jl/pull/53

Out of curiousity, what "geodesic line data" would be useful in this case?

andyferris avatar Feb 28 '21 21:02 andyferris

There is a similar package to this one [https://github.com/anowacki/Geodesics.jl], where the distance is calculated with Geodesics.inverse , so it will be great to have not just the distance but also all the intermediate points in order to plot it later. I think in that case is possible to calculate the geodesic over the sphere but also over an ellipsoid.

lazarusA avatar Mar 01 '21 07:03 lazarusA