pyinterp.geohash.decode

pyinterp.geohash.decode(hash: numpy.ndarray, round: bool = False) tuple[Annotated[numpy.typing.NDArray[numpy.float64], '[m, 1]'], Annotated[numpy.typing.NDArray[numpy.float64], '[m, 1]']]

Decode hashes into a geographic points.

Parameters:
  • hash – GeoHash codes.

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

Returns:

Longitudes/latitudes of the decoded points.