Geohash.adjacent
You're seeing just the function
adjacent
, go back to Geohash module for more information.
Calculate adjacent/2
geohash in ordinal direction ["n","s","e","w"]
.
Deals with boundary cases when adjacent is not of the same prefix.
Examples
iex> Geohash.adjacent("abx1","n")
"abx4"