Description Usage Arguments Details Value Author(s) References Examples
Convert latitude/longitude coordinates into geohash-encoded strings
1 | gh_encode(latitude, longitude, precision = 6L)
|
latitude |
|
longitude |
|
precision |
Positive |
precision
is limited to at most 28. This level of precision encodes locations on the globe at a nanometer scale and is already more than enough for basically all applications.
Longitudes outside [-180, 180)
will be wrapped appropriately to the standard longitude grid.
character
vector of geohashes corresponding to the input. NA
in gives NA
out.
Michael Chirico
http://geohash.org/ ( Gustavo Niemeyer's original geohash service )
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.