s*g
8 楼
Haversine formula:
a = sin²(Δlat/2) + cos(lat1).cos(lat2).sin²(Δlong/2)
c = 2.atan2(√a, √(1−a))
d = R.c
where R is earth’s radius (mean radius = 6,371km);
note that angles need to be in radians to pass to trig functions!
a = sin²(Δlat/2) + cos(lat1).cos(lat2).sin²(Δlong/2)
c = 2.atan2(√a, √(1−a))
d = R.c
where R is earth’s radius (mean radius = 6,371km);
note that angles need to be in radians to pass to trig functions!
w*g
9 楼
几千个点不算多吧,tba的方法就可以
b*e
14 楼
你们太高深,以后我改称文科肄业生。
h*e
23 楼
这个不要太简单吧。。。。
三角形,三边长有两边已知(地球半径),第三边长直接坐标代进去开根号。
然后余弦定理推角度。。。。
三角形,三边长有两边已知(地球半径),第三边长直接坐标代进去开根号。
然后余弦定理推角度。。。。
h*e
25 楼
如果估算就更简单了(角度小的话)
直接弧度等于弦长比半径就完了。
直接弧度等于弦长比半径就完了。
l*b
52 楼
嗯?这么复杂? arccos(cos(delta_long)sin(delta_lat))就好了呀
错了,改正一下...
arccos( cos(lat_1)cos(lat_2)cos(delta_long)+sin(lat_1)sin(lat_2))
错了,改正一下...
arccos( cos(lat_1)cos(lat_2)cos(delta_long)+sin(lat_1)sin(lat_2))
s*e
59 楼
不过你这个又是sin又是arccos的,没法口算呀。。。
呵呵
【在 l*******b 的大作中提到】![](/moin_static193/solenoid/img/up.png)
: http://en.wikipedia.org/wiki/Great-circle_distance
: 看到这页,蛋疼啊......
: http://www.movable-type.co.uk/scripts/latlong.html
呵呵
【在 l*******b 的大作中提到】
![](/moin_static193/solenoid/img/up.png)
: http://en.wikipedia.org/wiki/Great-circle_distance
: 看到这页,蛋疼啊......
: http://www.movable-type.co.uk/scripts/latlong.html
L*k
69 楼
这里面没有PDE吧?
C*c
70 楼
把球心放原点,考虑两个点与原点的连线的夹角
难道不是初中题?
难道不是初中题?
相关阅读
sears sucks....图书馆里Daido Moriyama的画册竟然全部都借光了。。。比较两个滤镜终于拔草了 ...我被投诉了哦,你们都不告诉我tokina 50-135mm 2.8怎么样难得戏剧便宜简单的 HD video recorder是不是 Flip 最好?Sexy black (转载)Lowepro Fastpack 250 这个包如何?Google Voice available to everyone[FS] T2i 7D XXBIS 17-55IS 85LII有人要新的EF 35mm f/1.4L镜头么?有人用过Huey求教 5d2现在怎买最便宜新手来报道[WTB] d300sP+ 全幅连 rumor 都没有了。。。大B超是男孩,发20个包子这周日纽约同性恋游行!!!