Documentation
¶
Index ¶
- func CompressGeoHash(codes []string, minPrecision, cutoffPrecision int) []string
- func CreateGeohash(latitude, longitude, radius float64, precision uint) []string
- func GenNextPrecisionGeoHashCode(hashCode string) (results []string)
- func MaxInt(a, b int) int
- func MinInt(a, b int) int
- func PanicIf(ok bool, ss string, v ...interface{})
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CompressGeoHash ¶
CompressGeoHash merge geohash code as far as possible, minPrecision: minimum length of geohash code after merge cutoffPrecision: cutoff precision geohash codes that can't be merged
func CreateGeohash ¶
CreateGeohash Get the list of geohashed id(uint64) that approximate a circle
Types ¶
This section is empty.


