Class TransformationAccuracy

java.lang.Object
org.apache.sis.util.Static
org.apache.sis.internal.metadata.TransformationAccuracy

public final class TransformationAccuracy extends Static
Creates a record reporting coordinate transformation accuracy.
Since:
0.7
Version:
1.0
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private static final WeakValueHashMap<Double,org.opengis.metadata.quality.PositionalAccuracy>
    Cache the positional accuracies.
    private static final org.opengis.util.InternationalString
    The name for the transformation accuracy metadata.
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    private
    Do not allow instantiation of this class.
  • Method Summary

    Modifier and Type
    Method
    Description
    static org.opengis.metadata.quality.PositionalAccuracy
    create(Double accuracy)
    Creates a positional accuracy for the given value, in metres.

    Methods inherited from class java.lang.Object

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

    • TRANSFORMATION_ACCURACY

      private static final org.opengis.util.InternationalString TRANSFORMATION_ACCURACY
      The name for the transformation accuracy metadata.
    • CACHE

      private static final WeakValueHashMap<Double,org.opengis.metadata.quality.PositionalAccuracy> CACHE
      Cache the positional accuracies. Most coordinate operation use a small set of accuracy values.
  • Constructor Details

    • TransformationAccuracy

      private TransformationAccuracy()
      Do not allow instantiation of this class.
  • Method Details

    • create

      public static org.opengis.metadata.quality.PositionalAccuracy create(Double accuracy)
      Creates a positional accuracy for the given value, in metres. This method may return a cached value.
      Parameters:
      accuracy - the accuracy in metres.
      Returns:
      a positional accuracy with the given value.