Class GeohashReferenceSystem

All Implemented Interfaces:
Serializable, Formattable, Deprecable, Lenient­Comparable, Identified­Object, Reference­System

public class GeohashReferenceSystem extends ReferencingByIdentifiers
Geographic coordinates represented as geohashes strings. Geohash is a simple encoding of geographic coordinates into a short string of letters and digits. Longer strings are more accurate, however the accuracy is not uniformly distributed between latitude and longitude, and removing digits decreases accuracy faster when the point is located close to the equator than close to a pole. For a system having more uniform accuracy, see the Military Grid Reference System (MGRS).
Since:
0.8
See Also:

Defined in the sis-referencing-by-identifiers module

  • Constructor Details

  • Method Details

    • getFormat

      public GeohashReferenceSystem.Format getFormat()
      Returns the encoding/decoding format.
      Returns:
      the encoding/decoding format.
    • createCoder

      public GeohashReferenceSystem.Coder createCoder()
      Returns a new object performing conversions between Direct­Position and geohashes. The returned object is not thread-safe; a new instance must be created for each thread, or synchronization must be applied by the caller.
      Returns:
      a new object performing conversions between Direct­Position and geohashes.