pyinterp.geohash.error

pyinterp.geohash.error(precision: int) tuple

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

Parameters

precision (int) – Number of bits used to encode the geohash code.

Returns

Accuracy in longitude/latitude and degrees.

Return type

tuple

Raises

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