pyinterp.GeoHash.error_with_precision

static GeoHash.error_with_precision(precision: int = 1) tuple[float, float]

Returns the accuracy in longitude/latitude and degrees for the given precision.

Parameters:

precision – Number of bits used to encode the geohash code. Default is 1.

Returns:

Accuracy in longitude/latitude and degrees.

Raises:

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