geoprimsField-grade geospatial math

Geohash

Geohash encoding, decoding, and neighbors.

Geohashes name a rectangle on the map with a short base-32 string, and each added character makes the box smaller. These tools encode and decode geohashes, find a cell's eight neighbors, and list the cells that cover a box or polygon. Developers use them for string keys, prefix searches, and simple spatial bucketing. Start with the encoder, which shows the cell's size and bounds at any length. Pitfall: points just across a cell edge can share no prefix at all, so always search a cell together with its neighbors.

I want to encode or decode a geohash

I want to find a geohash's neighbors

I want to list the geohashes over a box or polygon