Geohash
ID geohash
DatatypeNot PIIidentifierDraft
This record is a draft: it has not been reviewed yet and may be incomplete or wrong. Do not rely on it for compliance decisions. Help improve it (see CONTRIBUTING.md).
Geohash, a geocode invented by Gustavo Niemeyer in 2008. It interleaves the bits of longitude and latitude and writes them in a base-32 alphabet of digits and lowercase letters without a, i, l and o. Each added character makes the rectangle smaller, and codes with a common prefix are usually close to each other. The regexp allows 1 to 12 characters, the precision range of common implementations such as Elasticsearch; short values look like ordinary words and numbers.
- Categories
- Geographic identifiers
- Countries
- Global (not tied to a country)
- Languages
- Common to most languages
- Quality
- 75/100 · missing: mapping (Wikidata, Schema.org, ...), translation, detector coverage
- Metacrafter rules
- no detection rule yet
- Supported by tools
- no tool record lists this type yet
Regular expression
^[0-9b-hjkmnp-z]{1,12}$
Python re syntax.
Examples
| Value | Description |
|---|---|
| u4pruydqqvj | Point near the tip of Jutland, Denmark (example in Wikipedia) |
| ezs42 | Worked decoding example in Wikipedia |
| u4pruydqqva invalid | The letter a is not in the alphabet |
| u4pruydqqvjuu invalid | Thirteen characters |
Sources
- wikipedia: https://en.wikipedia.org/wiki/Geohash
- doc: https://www.elastic.co/docs/reference/aggregations/search-aggregations-bucket-geohashgrid-aggregation
Use this record
- Page URL:
http://registry.apicrafter.io/datatype/geohash - JSON: API v1 · legacy shape (used by metacrafter) · Markdown (for LLMs)
- Improve it: edit
data/datatypes/any/geo/geohash.yamlon GitHub