utils: Geohash utilities

Description Usage Arguments Value Note Author(s) References Examples

Description

Various common functions that arise when working often with geohashes

Usage

1
gh_delta(precision)

Arguments

precision

integer precision level desired.

Value

Length-2 numeric vector; the first element is the latitude (y-coordinate) half-width at the input precision, the second element is the longitude (x-coordinate).

Note

Caveat coder: not much is done in the way of consistency checking since this is a convenience function. So e.g. real-valued "precision"s will give results.

Author(s)

Michael Chirico

References

http://geohash.org/ ( Gustavo Niemeyer's original geohash service )

Examples

1

geohashTools documentation built on July 1, 2020, 7:09 p.m.