Skip to content
/ GeoDist Public

The geodesic (great-circle) that minimices the total distance to a series of given points on Earth's surface.

License

Notifications You must be signed in to change notification settings

Rigonz/GeoDist

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 

Repository files navigation

GeoDist

The geodesic (great-circle) that minimizes the total cross distances to a series of given points on Earth's surface.

Presentation

Given a series of points on the Earth's surface: which is the geodesic (great-circle) that minimizes the total cross distance between it and the reference points?

There may be an analytical solution but it seems complicated enough, so I have taken a numerical approach. The geodesic formulas are taken from movable-type.

Attached is a Jupiter Notebook that provides a solution based on a double iteration:

  • it starts navigating through a random selection of great-circles, looking for those which minimize the total sum,
  • then refines the result with a gradient search with the same objective.

(In my trials the core of the job is done by the random walk, but this clearly depends on the number and conditions of the iterations.)

Results

The script provides visual checks on the convergence of the random approach: number of iterations path of solutions

Finally, it also generates a representation of the added cross distance from the set of points to "all" great-circles: all distances

It allows matplotlib visualizations:

matplot

And (manual) zooming_in:

zoom-in

About

The geodesic (great-circle) that minimices the total distance to a series of given points on Earth's surface.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published