Class GeographicToTopocentric

All Implemented Interfaces:
Serializable, Formattable, MathTransformProvider, Deprecable, LenientComparable, org.opengis.referencing.IdentifiedObject, org.opengis.referencing.operation.OperationMethod

public final class GeographicToTopocentric extends AbstractProvider
The provider for the "Geographic/topocentric conversions" (EPSG:9837). This operation is implemented using existing MathTransform implementations; there is no need for a class specifically for this transform.
Since:
1.3
Version:
1.3
See Also:
  • Field Details

    • serialVersionUID

      private static final long serialVersionUID
      For cross-version compatibility.
      See Also:
    • ORIGIN_X

      static final org.opengis.parameter.ParameterDescriptor<Double> ORIGIN_X
      The operation parameter descriptor for the Longitude of topocentric origin parameter value.
      Parameter names
      EPSG: Longitude of topocentric origin
      Notes:
      • Value domain: [-180.0 … 180.0]°
    • ORIGIN_Y

      static final org.opengis.parameter.ParameterDescriptor<Double> ORIGIN_Y
      The operation parameter descriptor for the Latitude of topocentric origin parameter value.
      Parameter names
      EPSG: Latitude of topocentric origin
      Notes:
      • Value domain: [-90.0 … 90.0]°
    • ORIGIN_Z

      static final org.opengis.parameter.ParameterDescriptor<Double> ORIGIN_Z
      The operation parameter descriptor for the Ellipsoidal height of topocentric origin parameter value.
      Parameter names
      EPSG: Ellipsoidal height of topocentric origin
    • PARAMETERS

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

    • GeographicToTopocentric

      public GeographicToTopocentric()
      Constructs a provider for the 3-dimensional case. While this operation method looks like a map projection because it has a GeographicCRS source and CartesianCS destination, it is classified in the "Coordinate Operations other than Map Projections" category in EPSG guidance note.
  • Method Details

    • createMathTransform

      public org.opengis.referencing.operation.MathTransform createMathTransform(org.opengis.referencing.operation.MathTransformFactory factory, org.opengis.parameter.ParameterValueGroup values) throws org.opengis.util.FactoryException
      Creates a transform from the specified group of parameter values. The unit of measurement of input coordinates will be the units of the ellipsoid axes.
      Parameters:
      factory - the factory to use for creating the transform.
      values - the parameter values that define the transform to create.
      Returns:
      the conversion from geographic to topocentric coordinates.
      Throws:
      org.opengis.util.FactoryException - if an error occurred while creating a transform.