Skip to content

zhaozy93/geohash_go

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

GEOHASH in GO

An implementation of GEOHASH in GOLANG. The desciption of GEOHASH can find at here

Getting the library

go get github.com/zhaozy93/geohash_go

Usage

 import "github.com/zhaozy93/geohash_go"
 hashKey, err := geohash_go.EnGeoHash(float64(39.928167), float64(116.389550), 10)
 lat, lng, err := geohash_go.DeGeoHash(hashKey)
 neigh, err = geohash_go.GetNeighbour(hashKey)
)

Bugs

If you have any questions or find some unexpectedly discovered, please comment or contribute.

Refer

GeoHash核心原理解析

地理围栏算法解析(Geo-fencing)

离我最近之geohash算法

用打表的方式解决求Geohash当前区域周围8个区域编码

Geohash求当前区域周围8个区域编码的一种思路


This code has been placed under the Apache License 2.0.

About

Implementation of GeoHash in go

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages