利用经纬度求解两点球面距离(Haversine formula)

利用经纬度求解两点球面距离 Haversine formula h ( θ ) = s i n 2 ( θ 2 ) = 1 − c o s ( θ ) 2 h(\theta)=sin^2(\frac{\theta}{2})=\frac{1-cos(\theta)}{2} h(θ)=sin2(2θ​)=21−cos(θ)​ 则 h ( θ ) = h ( d R ) = h ( Δ β ) + c
相关文章
相关标签/搜索