我使用的是世界地图大致位于太平洋上的d3.geo.conicEquidistant()的投影,我的目标是从点画圈圈,说明从地图上的这个点开始,一个特定的距离,例如1000km。 我如何计算上的投影正确的半径,给出具体的公里? 这里是我的代码示例(是的,它是关于导弹从朝鲜到达使用人工平壤为出发点:),建立在这个问题:Scale a circle's radius (given in meters)
我有两种方法用于计算在python地理参考坐标之间的距离: from pyproj import Proj
import math
def calc_distance(lat1, lon1, lat2, lon2):
"""
Calculate the great circle distance between two points
on the earth (