spatial4j.jar计算经纬度的Geohash值
<dependency> <groupId>org.locationtech.spatial4j</groupId> <artifactId>spatial4j</artifactId> <version>0.8</version> </dependency>
String geohash = GeohashUtils.encodeLatLon(116.20,39.56);
0条留言