版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/wxb880114/article/details/83019817
GeoHash工具类
GeoHash 地理hash编码
http://lucene.apache.org/core/3_0_3/api/contrib-spatial/index.html
Maven包
https://mvnrepository.com/artifact/org.apache.lucene/lucene-spatial/7.5.0
<!-- https://mvnrepository.com/artifact/org.apache.lucene/lucene-spatial -->
<dependency>
<groupId>org.apache.lucene</groupId>
<artifactId>lucene-spatial</artifactId>
<version>7.5.0</version>
</dependency>
类图如下