Composes a geohash from a latitude and longitude index for the grid of geohashes at the specified precision.
Composes a geohash from a latitude and longitude index for the grid of geohashes at the specified precision.
Note that the maximum latitude index is 2(prec / 2) - 1 and the maximum longitude index is 2(prec / 2 + prec % 2) -1 for the given precision. An exception will be thrown if a larger index value is passed to this function.
latitude index
longitude index
the precision
a geohash at the specified latitude and longitude index for the given geohash precision
Create the geohash at the given latitude and longitude index with the given deltas and precision.
Create the geohash at the given latitude and longitude index with the given deltas and precision. Assumes prec <= 63, that is, all bits in the bitset fit in one Long
the longitude (x) delta per grid cell for the given precision
the latitude (y) delta per grid cell for the given precision
precision (# of bits)
the encoded GeoHash (note that calculation of the actual hash string is lazy)
Get the dimensions of the geohash grid bounded by ll and ur at precision.
Get the dimensions of the geohash grid bounded by ll and ur at precision.
tuple containing (latitude span count, longitude span count)
Gets a long value representing a latitude index within the grid of geohashes at the precision of the specified geohash
Gets a long value representing a latitude index within the grid of geohashes at the precision of the specified geohash
the geohash
latitude index
Gets a long value representing a longitude index within th grid of geohashes at the precision of the specified geohash
Gets a long value representing a longitude index within th grid of geohashes at the precision of the specified geohash
the geohash
longitude index
Convenience method to return both the latitude and longitude indices within the grid of geohashes at the precision of the specified geohash
Convenience method to return both the latitude and longitude indices within the grid of geohashes at the precision of the specified geohash
the geohash
an array containing first the latitude index and then the longitude index