Я вижу, что они являются некоторыми библиотеками в pyton для вычисления геохеша.
Но есть некоторые ограничения:
https://en.wikipedia.org/wiki/Geohash
This will retrieve all points in the z-order curve between the two corners, which can be far too many points, this also breaks down at the 180 meridians and the poles. Solr uses a filter list of prefixes, by computing the prefixes of the nearest squares close to the geohash
Так, как лучше всего вычислить в python префикс ближайших квадратов?
На данный момент я брутфорс расстояния, вычисляя км между двумя точками.