|
|
|
|
|
by zlurker
1379 days ago
|
|
There's a great blog written by someone who wrote a very efficient geohashing algorithm in go/assembly that may help a little bit with understanding it. https://mmcloughlin.com/posts/geohash-assembly The simplified TLDR is: 1. Convert lat and long to something that's represented by bits.
2. Interleave these bits such that lat and long bits alternate in the sequence.
3. Optionally, but seems to be the standard, encode the bits into the custom base32 character set. |
|