Glossary

Geohash

Encodes a lat/long into a short string so nearby points share a prefix.

1 min read·4 sections
Open the interactive version → diagrams, practice & more

Definition

Encodes a lat/long into a short string so nearby points share a prefix.

How it works

Lets you index location in a regular DB and query "nearby" by prefix/cell — used in ride-hailing and maps.

Common questions

What is Geohash?

Encodes a lat/long into a short string so nearby points share a prefix.

How does Geohash work?

Lets you index location in a regular DB and query "nearby" by prefix/cell — used in ride-hailing and maps.

What is Geohash used for in system design?

Lets you index location in a regular DB and query "nearby" by prefix/cell — used in ride-hailing and maps.

Part of Glossary on SystemLore — system design explained with 148 deep topics, interactive diagrams, and a build-it-yourself game. Build this one →