pyinterp.core.geohash.int64.error

pyinterp.core.geohash.int64.error(precision: int) tuple

Returns the accuracy in longitude/latitude and degrees for the number of bits used to encode the GeoHash.

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, 64].