Class GeocoordPrecision

java.lang.Object
org.opensextant.extractors.xcoord.GeocoordPrecision

public class GeocoordPrecision extends Object
Author:
ubaldino
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    int
    # of decimal places in D.ddd...
    double
    +/- # of Meters of error
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    setDigits(int d)
    Augment number of digits in precision -- choose the maximum amount if in coord (a,b) if a has more digits of precision than b, use a's precision.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • precision

      public double precision
      +/- # of Meters of error
    • digits

      public int digits
      # of decimal places in D.ddd... string for a lat or lon
  • Constructor Details

    • GeocoordPrecision

      public GeocoordPrecision()
  • Method Details

    • setDigits

      public void setDigits(int d)
      Augment number of digits in precision -- choose the maximum amount if in coord (a,b) if a has more digits of precision than b, use a's precision. This is really only a matter of typos, where typist may have added 4 digits instead of 5, for example.
      Parameters:
      d -