我使用的是世界地圖大致位於太平洋上的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 (