pyinterp.core.geohash.decode#
- pyinterp.core.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 geohash strings into geographic coordinates.
This function decodes geohash strings into longitude and latitude coordinates. Optionally rounds the coordinates to the accuracy defined by the geohash.
- Parameters:
hash – GeoHash codes to decode.
round – If true, the coordinates of the point will be rounded to the accuracy defined by the GeoHash. Defaults to False.
- Returns:
Tuple of (longitudes, latitudes) of the decoded points.