pyinterp.core.geohash.int64.bounding_box

pyinterp.core.geohash.int64.bounding_box(hash: int, precision: int = 64) pyinterp.core.geodetic.Box

Returns the bounding box encoded by the geohash with the specified precision.

Parameters
  • hash (int) – Geohash.

  • precision (int, optional) – Required accuracy.

Returns

Bounding box.

Return type

pyinterp.geodetic.Box

Raises

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