Mid point of two point where latitude and longitude given
I am trying to find 开发者_JS百科the midpoint of two points where latitude and longitude of those points are given. Using Haversine formula I can able to find the distance between between those points. I guess, I can also able find the midpoint by dividing the distance by 2. After that how can find the latitude and longitude of that midpoint. Thanks in advance
This was covered by Dr. Math. Latitude and Longitude of a Point Halfway between Two Points
Find the Haversine distances of the latitudes and longitudes separately, and then apply the distance to each coordinate separately.
精彩评论