pyinterp.GeoHash.from_string#
- static GeoHash.from_string(code: str, round: bool = False) pyinterp._geohash.GeoHash [source]#
Create from its string representation.
- Parameters
code – Geohash code.
round – If true, the coordinates of the point will be rounded to the accuracy defined by the GeoHash.
- Returns
Geohash.
- Return type
- Throws:
ValueError: If the code is not a valid geohash.