Versions in this module Expand all Collapse all v2 v2.1.2 Sep 17, 2021 Changes in this version + var GeoBits uint = 32 + func BoundingBoxContains(lon, lat, minLon, minLat, maxLon, maxLat float64) bool + func BoundingRectangleForPolygon(polygon []Point) (float64, float64, float64, float64, error) + func DecodeGeoHash(geoHash string) (float64, float64) + func DegreesToRadians(d float64) float64 + func EncodeGeoHash(lat, lon float64) string + func ExtractGeoPoint(thing interface{}) (lon, lat float64, success bool) + func Haversin(lon1, lat1, lon2, lat2 float64) float64 + func MortonHash(lon, lat float64) uint64 + func MortonUnhashLat(hash uint64) float64 + func MortonUnhashLon(hash uint64) float64 + func ParseDistance(d string) (float64, error) + func ParseDistanceUnit(u string) (float64, error) + func RadiansToDegrees(r float64) float64 + func RectFromPointDistance(lon, lat, dist float64) (float64, float64, float64, float64, error) + func RectIntersects(aMinX, aMinY, aMaxX, aMaxY, bMinX, bMinY, bMaxX, bMaxY float64) bool + func RectWithin(aMinX, aMinY, aMaxX, aMaxY, bMinX, bMinY, bMaxX, bMaxY float64) bool + type Point struct + Lat float64 + Lon float64 Other modules containing this package github.com/timezstyle/bleve