8000 GitHub - evthoriz/geohash-java: a Java implement of Geohash
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

evthoriz/geohash-java

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

geohash-java

a Java implement of Geohash

提供下列接口:

Modifier and Type Method and Description
String toGeoHash(double lng, double lat)
根据经纬度计算 geohash
String toGeoHash(double lng, double lat, int level)
根据经纬度转换为指定长度的 geohash
GPS toGPS(String geohash)
将 geohash 转换成gps,GPS 类包含经纬度两个值
List<String> getRound8(String geohash)
根据给定的geohash计算出周围8个 geohash

性能方面在笔记本上随便测试了一下,getRound8 在 50w 上下,其他每个接口都在百万以上。

About

a Java implement of Geohash

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0