Appearance
Geohash
A geohash actually identifies a rectangular cell: at each level, each extra character identifies one of 32 sub-cells.
Imagine the world is divided into a grid with 32 cells, and then each one of these will contain 32 cells (and so on repeatedly).
Geohashes use Base-32 alphabet encoding (characters can be 0 to 9 and A to Z, excl "A", "I", "L" and "O”).
The maximum length of a geohash is 12 characters.
Geohash length | Cell width | Cell height |
---|---|---|
1 | 5,000km | 5,000km |
2 | 1,250km | 625km |
3 | 156km | 156km |
4 | 39.1km | 19.5km |
5 | 4.89km | 4.89km |
6 | 1.22km | 0.61km |
7 | 153m | 153m |
8 | 38.2m | 19.1m |
9 | 4.77m | 4.77m |
10 | 1.19m | 0.596m |
11 | 149mm | 149mm |
12 | 37.2mm | 18.6mm |
- 3 to 5 characters: Used for city-level or regional grouping.
- 6 to 8 characters: Used for neighborhood or street-level precision.
- 9+ characters: Used in cases requiring very high precision, such as mapping exact building corners.
Libraries