Tools for Geohash Creation and Manipulation

Provides tools to encode lat/long pairs into geohashes, decode those geohashes, and identify their neighbours.


A package for encoding, decoding and neighbouring geohashes

Author: Oliver Keyes
License: MIT
Status: Stable

geohashes are a way of representing latitude/longitude pairs as individual, short strings of numbers and letters. The geohash package provides tools for:

  • Encoding latitude/longitude pairs into geohashes;
  • Decoding geohashes into latitude/longitude pairs;
  • Identifying the neighbouring geohashes of a provided geohash (or vector of geohashes).

For more information, see the geohash vignette.

Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.

To get the development version (currently recommended):

devtools::install_github("ironholds/geohash")

The latest CRAN version can be obtained via:

install.packages("geohash")

News

Version 0.1.2

BUG FIXES

  • Longitudes are now correctly returned from gh_decode (thanks to Alun Hewinson for spotting this) #1
  • Initial release

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("geohash")

0.3.0 by Oliver Keyes, 2 months ago


https://github.com/Ironholds/geohash/


Report a bug at https://github.com/Ironholds/geohash/issues


Browse source code at https://github.com/cran/geohash


Authors: Oliver Keyes [aut, cre], Seth Wenchel [ctb], G. Nagel [cph]


Documentation:   PDF Manual  


MIT + file LICENSE license


Imports Rcpp

Suggests testthat, knitr, rmarkdown, olctools

Linking to Rcpp


See at CRAN