Package org.apache.sis.internal.metadata
Class TransformationAccuracy
java.lang.Object
org.apache.sis.util.Static
org.apache.sis.internal.metadata.TransformationAccuracy
Creates a record reporting coordinate transformation accuracy.
- Since:
- 0.7
- Version:
- 1.0
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate 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
ConstructorsModifierConstructorDescriptionprivate
Do not allow instantiation of this class. -
Method Summary
-
Field Details
-
TRANSFORMATION_ACCURACY
private static final org.opengis.util.InternationalString TRANSFORMATION_ACCURACYThe name for the transformation accuracy metadata. -
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
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.
-