Class GeohashReferenceSystem.Coder

Enclosing class:
Geohash­Reference­System

public class GeohashReferenceSystem.Coder extends ReferencingByIdentifiers.Coder
Conversions between direct positions and geohashes. Each Coder instance can read codes at arbitrary precision, but formats at the specified precision. The same Coder instance can be reused for reading or writing many geohashes.

Immutability and thread safety

This class is not thread-safe. A new instance must be created for each thread, or synchronization must be applied by the caller.
Since:
0.8
  • Constructor Details

    • Coder

      protected Coder()
      Creates a new geohash coder/decoder initialized to the default precision.
  • Method Details