pyinterp.geohash.index.GeoHash.where

static GeoHash.where(hash_codes: numpy.ndarray) Dict[bytes, Tuple[Tuple[int, int], Tuple[int, int]]][source]

Returns the start and end indexes of the different GeoHash boxes.

Parameters

hash_codes (numpy.ndarray) – geohash codes obtained by the encode method.

Returns

the start and end indexes for each geohash boxes

Return type

dict