MySQL中通過經緯度查詢地址

通過經緯度進行距離的測試 select * from locations where 3979*ACOS(COS(RADIANS(lat))*COS(RADIANS(38.03))*COS(RADIANS(lon)-RRADIANSRADIANS(-78))+SIN(RADIANS(lat))*SIN(RADIANS(38.03)))<100; 小於100距離的地址 +----+--------+
相關文章
相關標籤/搜索