python计算两个地标之间的直线距离

2020-11-05  本文已影响0人  吱吱菌啦啦

from geopy.distance import geodesic
print(geodesic((39.929708,116.330847), (39.90187840,116.32769780)).m)

print结果:
3101.713068339064

上一篇 下一篇

猜你喜欢

热点阅读