A geohash is a convenient way of expressing a location (anywhere in the world) using a short alphanumeric string, with greater precision obtained with longer strings.
When I learn it the first time I was confused by its name. It's totally different to the other hashing
algorithm, it keeps the information of the location. It's actually not a hashing
algorithm but an encoding
algorithm.
So how the algorithm named? Why it called Geohash
?
Comments
To see the different between
Encoding
andHashing
you can click here: Encoding vs. Encryption vs. Hashing vs. ObfuscationTo see the Geohash algorithm in Java you can click here: Geohash Encoding and Decoding Algorithm