Documentation
¶
Overview ¶
Proximityhash is a utility which finds all geohashes that lie within a given distance (in meters) of a given latitude, longitude coordinate point.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FindGeohashesWithinRadius ¶
func FindGeohashesWithinRadius(lat, lng, radius float64, precision uint) (fullMatches, partialMatches []string)
The FindGeohashesWithinRadius function finds all geohashes within the given radius (in meters) of the given (lat, lng) coordinate point. The geohashes will have the given precision. Geohashes which are 100% inside the radius will be in the fullMatches return value. Geohashes which lie partially but not fully within the radius will be in the partialMatches return value.
Types ¶
This section is empty.