expand_geohashes | R Documentation |
Expand Geohashes
expand_geohashes(geohashes)
geohashes |
(character vector) Geohashes to expand. |
Character vector of each geohash in geohashes
followed by its parents.
expand_geohashes("0011")
expand_geohashes(c("0011", "110011"))
xyz <- xy_to_gridcells(lnglat_to_xy(cbind(123.4567, 12.3456)), 20)
geohashes <- gridcells_to_geohashes(xyz)
exyz <- geohashes_to_gridcells(expand_geohashes(geohashes))
lnglat <- xy_to_lnglat(gridcells_to_xy(exyz))
cbind(exyz, lnglat)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.