Home  >  Article  >  Backend Development  >  Geohash根据经纬度计算距离.该怎么处理

Geohash根据经纬度计算距离.该怎么处理

WBOY
WBOYOriginal
2016-06-13 11:54:421522browse

Geohash根据经纬度计算距离.
谁用过geohash.class.php这个查找附近人的类的?

我想问下表Geohash的精确的位数,跟距离有什么关系?我只想在数据库中搜出里我最近的一个坐标点,该如何实现?
------解决方案--------------------
失之毫厘,谬之千里

距离越大偏差越大

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn