PHPackages                             westery/geohash - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. westery/geohash

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

westery/geohash
===============

laravel GeoHash Library

018PHP

Since Dec 6Pushed 8y ago1 watchersCompare

[ Source](https://github.com/westery/geohash)[ Packagist](https://packagist.org/packages/westery/geohash)[ RSS](/packages/westery-geohash/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

geohash
=======

[](#geohash)

GeoHash library

网上的关于Geohash的精度问题的说明都不够完整，做了一下补充，可以参见本文表格。

```
具体的计算方法：
    Latitude的范围是：-90 到 +90
   Longitude的范围：-180 到 +180
   地球参考球体的周长：40075016.68米

```

**geohash长度** **Lat位数** **Lng位数** **Lat误差** **Lng误差** **km误差**1 2 3 ±23 ±23 ±25002 5 5 ± 2.8 ±5.6 ±6303 7 8 ± 0.70 ± 0.7 ±784 10 10 ± 0.087 ± 0.18 ±205 12 13 ± 0.022 ± 0.022 ±2.46 15 15 ± 0.0027 ± 0.0055 ±0.617 17 18 ±0.00068 ±0.00068 ±0.0768 20 20 ±0.000086 ±0.000172 ±0.019119 22 23 ±0.000021 ±0.000021 ±0.0047810 25 25 ±0.00000268 ±0.00000536 ±0.000597111 27 28 ±0.00000067 ±0.00000067 ±0.000149212 30 30 ±0.00000008 ±0.00000017 ±0.0000186

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/9e6d4ad1f4cf563b8cd422080bca3518737654b32e9d04db1d5b42dabfcc0b1e?d=identicon)[seasons1990](/maintainers/seasons1990)

---

Top Contributors

[![westery](https://avatars.githubusercontent.com/u/4382967?v=4)](https://github.com/westery "westery (5 commits)")

---

Tags

geohashlaravel

### Embed Badge

![Health badge](/badges/westery-geohash/health.svg)

```
[![Health](https://phpackages.com/badges/westery-geohash/health.svg)](https://phpackages.com/packages/westery-geohash)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
