我已经看到它们是pyton中的某个lib,可以用来计算geohash。
但是有一些限制:
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中计算最近的正方形的前缀的最佳方法是什么?
目前,我通过计算两点之间的kms来强行拉开距离。