Recently I'm using GeoHash to hash the paired geo-coordinates into a hash value and store it in MySQL. Now I want to find the nearest hash given the other hash. I noticed that MYSQL provide BTree structure to find a range of nearest hashes by using the command "like" in SQL query.
The problem is, how could I find the nearest one instead of giving a range since sometimes I don't know the range.
Could someone give me a hint?
Really appreciate it.