pyinterp.core.geohash.int64.bounding_boxes

pyinterp.core.geohash.int64.bounding_boxes(box: Optional[pyinterp.core.geodetic.Box] = None, precision: int = 5) numpy.ndarray[numpy.uint64[m, 1]]

Returns all geohash codes contained in the defined bounding box.

Parameters
  • box (pyinterp.geohash.Box, optional) – Bounding box.

  • precision (int, optional) – Required accuracy.

Returns

Geohash codes.

Return type

numpy.ndarray

Raises

ValueError – If the given precision is not within [1, 64].