Skip to content

fanixk/geohash

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status

Geohash for Go

Usage

Encode:

geohash := geohash.Encode(37.941882, 23.653022)

Decode in BoundingBox

bbox := geohash.DecodeBoundingBox("sw8zf5pe7r7w")

Decode:

coords := geohash.Decode("sw8zf5pe7r7w")

Get Neighbor:

neighbor := geohash.Neighbor("sw8zf5pe7r7w", "left")

Get All Neighbors:

neighbors := geohash.Neighbors("sw8zf5pe7r7w")

http://en.wikipedia.org/wiki/Geohash

About

Geohash library for Go

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages