pyinterp.core.geohash.int64.decode#

pyinterp.core.geohash.int64.decode(hash: numpy.ndarray[numpy.uint64[m, 1]], precision: int = 64, round: bool = False) Tuple[numpy.ndarray[numpy.float64[m, 1]], numpy.ndarray[numpy.float64[m, 1]]]#

Decode hash into a geographic points with the given precision.

Parameters
  • hash – GeoHash.

  • precision – Required accuracy.

  • round – If true, the coordinates of the point will be rounded to the accuracy defined by the GeoHash.”

Returns

Longitudes/latitudes of the decoded points.

Raises

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