geohash 精度

时间:2023-03-09 09:43:16
geohash 精度

关于地图的距离。

 $list1=Db::name('museum')->where('id','in',$user['gz'])->order('ACOS(SIN(('.$lat.' * 3.1415) / 180 ) *SIN((lat * 3.1415) / 180 ) +COS(('.$lat.' * 3.1415) / 180 ) * COS((lat * 3.1415) / 180 ) *COS(('.$lon.' * 3.1415) / 180 - (lng * 3.1415) / 180 ) ) * 6380')->select(); 
geohash 精度

Geohash的精度问题 https://segmentfault.com/a/1190000002513514