pyinterp.core.GeoHash.from_string#

static GeoHash.from_string(code: str, round: bool = False) pyinterp.core.GeoHash#

GeoHash from its string representation.

Parameters:
  • code – String representation of the geohash.

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

Throws:

ValueError: If the code is not a valid geohash.