pyinterp.geohash.index.init_geohash

pyinterp.geohash.index.init_geohash(store: pyinterp.geohash.storage.abc.AbstractMutableMapping, precision: int = 3, synchronizer: Optional[pyinterp.geohash.lock.Synchronizer] = None) pyinterp.geohash.index.GeoHash[source]

Creation of a GeoHash index.

Parameters
  • store (AbstractMutableMapping) – Object managing the storage of the index.

  • precision (int) – Accuracy of the index. By default the precision is 3 characters.

  • synchronizer (lock.Synchronizer, optional) – Write synchronizer

Returns

index handler.

Return type

GeoHash