Skip to content

gogeohash is go package to get geohash from lat-log pairs. Encode is for encoding lat-log to geohash & Decode is for Decoding geohash back to lat-log.

License

Notifications You must be signed in to change notification settings

abhishinde24/gogeohash

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gogeohash

gogeohash is go package to get geohash from latitute and logitute and vise versa.

Installation

# Install the core.
go get github.com/abshinde24/gogeohash

Usage

import "github.com/abshinde24/gogeohash"

// generate geohash from Lat and Lon
g := geohash.GeoHash{}
hash := g.encode(48.8566,2.35222)

// getting lat and log from geohash
lat, log, err := g.Decode("u09tvw0f")

Reference

About

gogeohash is go package to get geohash from lat-log pairs. Encode is for encoding lat-log to geohash & Decode is for Decoding geohash back to lat-log.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages