住建人脸设备定位获取坐标地图https://map.jiqrxx.com/jingweidu/
两个坐标算距离网址https://c.runoob.com/compile/9/
湖南省实名制IP地址http://218.77.58.14:9001/
湘江新区建设工程智慧监管平台http://183.214.91.133:8231/login
湖南省智慧工地平台(项目级)http://39.108.81.42:8013/#/Login
长沙市新监管平台http://113.240.94.95:9080/web/jklogin(无用)
福建工地平台项目端https://ldjc.fj99.org.cn:8772//smxm/
福建平台https://www.fj99.org.cn/nmg/lwsmz/#/home-page(福建省.治理欠薪大数据)项目入口-个人登录
简款扬尘平台http://dust.iotsin.com/
算点位程序配合在线网址
import math
def get_distance_m(lon1, lat1, lon2, lat2):
R = 6371000
lon1, lat1, lon2, lat2 = map(math.radians, [lon1, lat1, lon2, lat2])
dlat = lat2 - lat1
dlon = lon2 - lon1
a = math.sin(dlat/2)**2 + math.cos(lat1)*math.cos(lat2)*math.sin(dlon/2)**2
c = 2 * math.atan2(math.sqrt(a), math.sqrt(1-a))
return R * c
# =========在这里改坐标=========
lon1 = 113.14189
lat1 = 29.35626
lon2 = 113.14195
lat2 = 29.35630
# ==============================
dis = get_distance_m(lon1, lat1, lon2, lat2)
print(f"两点球面距离:{dis:.2f} 米")