0

I want to get distance of two cities having their latitude and longitude. Is there a java lib to do it? Apache common math seems to have a spherical class. Is there any one used it?

4

1 回答 1

1

看看这个答案: 计算两点之间的距离,使用纬度经度,我做错了什么?

不使用库,但接受的答案将解决您的问题。

于 2014-07-29T14:40:31.577 回答