JuliaGeo / Geodesy.jl

Work with points defined in various coordinate systems.
MIT License
110 stars 24 forks source link

shortest distance between two points #68

Open lazarusA opened 3 years ago

lazarusA commented 3 years ago

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?

andyferris commented 3 years ago

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?

lazarusA commented 3 years ago

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.