Class GeographicOffsets

All Implemented Interfaces:
Serializable, Formattable, MathTransformProvider, Deprecable, LenientComparable, org.opengis.referencing.IdentifiedObject, org.opengis.referencing.operation.OperationMethod
Direct Known Subclasses:
GeographicAndVerticalOffsets, GeographicOffsets2D, LongitudeRotation

public class GeographicOffsets extends GeodeticOperation
Base class for all transformations that perform a translation in the geographic domain. This base class defines a provider for "Geographic3D offsets" (EPSG:9660), but subclasses will provide different operations.
Since:
0.7
Version:
1.3
See Also:
  • Field Details

    • serialVersionUID

      private static final long serialVersionUID
      Serial number for inter-operability with different versions.
      See Also:
    • TX

      static final org.opengis.parameter.ParameterDescriptor<Double> TX
      The operation parameter descriptor for the "Longitude offset" parameter value.
      Parameter names
      EPSG: Longitude offset
    • TY

      static final org.opengis.parameter.ParameterDescriptor<Double> TY
      The operation parameter descriptor for the "Latitude offset" parameter value.
      Parameter names
      EPSG: Latitude offset
    • TZ

      static final org.opengis.parameter.ParameterDescriptor<Double> TZ
      The operation parameter descriptor for the "Vertical Offset" parameter value.
      Parameter names
      EPSG: Vertical Offset
    • PARAMETERS

      private static final org.opengis.parameter.ParameterDescriptorGroup PARAMETERS
      The group of all parameters expected by this coordinate operation.
  • Constructor Details

    • GeographicOffsets

      public GeographicOffsets()
      Constructs a provider with default parameters.
    • GeographicOffsets

      GeographicOffsets(int sourceDimensions, int targetDimensions, org.opengis.parameter.ParameterDescriptorGroup parameters, GeodeticOperation[] redimensioned)
      For default constructors in this class and subclasses.
  • Method Details

    • vertical

      org.opengis.parameter.ParameterDescriptor<Double> vertical()
      Returns the parameter descriptor for the vertical axis.
    • createMathTransform

      public org.opengis.referencing.operation.MathTransform createMathTransform(org.opengis.referencing.operation.MathTransformFactory factory, org.opengis.parameter.ParameterValueGroup values) throws org.opengis.parameter.ParameterNotFoundException
      Creates a transform from the specified group of parameter values. The parameter values are unconditionally converted to degrees and metres.
      Parameters:
      factory - ignored (can be null).
      values - the group of parameter values.
      Returns:
      the created math transform.
      Throws:
      org.opengis.parameter.ParameterNotFoundException - if a required parameter was not found.