GeoscienceAustralia / GeodePy

A toolkit for Geodesy and Surveying in Python
Apache License 2.0
91 stars 47 forks source link

Intersection of two lines #70

Open harry093 opened 5 years ago

harry093 commented 5 years ago

Given two lines, defined by a pair of lat/lons, calculate the point of intersection

BatchelorJ commented 5 years ago

Thanks mate, this would be great to implement. I did some quick research and came across this paper that looks like they've developed an algorithm to do exactly this (but with geodesics on the ellipsoid).

https://www.researchgate.net/publication/321358300_Intersection_and_point-to-line_solutions_for_geodesics_on_the_ellipsoid

I'll look into implementing this in code shortly.

harry093 commented 5 years ago

No hurry, a request came through geodesy@ga for an exe or spreadsheet that could do this. I thought it was a worthwhile tool, so put here so as to not forget about it.