Geohashes are calculated using a fixed-sized box, which means it's easy
to take a geohash and extract the neighbouring boxes around it, in each direction.
These functions either extract all neighbours, or individual neighbours, depending on
your preference.
Usage
gh_neighbours(hashes)
north(hashes)
northeast(hashes)
east(hashes)
southeast(hashes)
south(hashes)
southwest(hashes)
west(hashes)
northwest(hashes)
Arguments
hashes
a vector of geohashes, which can be computed with gh_encode
See Also
gh_encode for generating hashes and gh_decode for resolving
them into latitude and longitude pairs.