Wednesday, 21 May 2008

spherical geometry - Intersection of two rhumb line segments

Short Version:



How would one find the point of intersection of two rhumb line segments defined by two pairs of points on the globe? Assumptions such as a spherical Earth and following the shortest-path are A-OK.



Long Version:



Been crawling the web looking for resources. There are a few decent spherical geometry pages specific to GIS such as Ed Williams' AVSIG and this Movable Type site. Finding the intersections of line segments interpreted as great circle arcs is fairly trivial, and covered on those sites. Unfortunately this situation with rhumb line arcs is not.



Given two pairs of lat/lon locations, each pair defining a shortest-path rhumb line segment, how would you find the point of intersection?



It seems like it would be as simple as using the formula for projecting a destination location given a starting point, bearing and distance (formulas available on the Movable Type site). Taking that for both lines and setting the lat/lons equal to each other and solving for a distance. I haven't had much success deriving such a method.



This really seems like a solved problem so I'm hoping I'm just not looking in the right places!

No comments:

Post a Comment