Class GeocentricToTopocentric
java.lang.Object
org.apache.sis.io.wkt.FormattableObject
org.apache.sis.referencing.AbstractIdentifiedObject
org.apache.sis.referencing.operation.DefaultOperationMethod
org.apache.sis.internal.referencing.provider.AbstractProvider
org.apache.sis.internal.referencing.provider.GeocentricToTopocentric
- All Implemented Interfaces:
Serializable
,Formattable
,MathTransformProvider
,Deprecable
,LenientComparable
,org.opengis.referencing.IdentifiedObject
,org.opengis.referencing.operation.OperationMethod
The provider for the "Geocentric/topocentric conversions" (EPSG:9836).
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 Summary
FieldsModifier and TypeFieldDescriptionprivate static final org.opengis.parameter.ParameterDescriptor
<Double> The operation parameter descriptor for the Geocentric X of topocentric origin (X) parameter value.private static final org.opengis.parameter.ParameterDescriptor
<Double> The operation parameter descriptor for the Geocentric Y of topocentric origin (Y) parameter value.private static final org.opengis.parameter.ParameterDescriptor
<Double> The operation parameter descriptor for the Geocentric Z of topocentric origin (Z) parameter value.private static final org.opengis.parameter.ParameterDescriptorGroup
The group of all parameters expected by this coordinate operation.private static final long
For cross-version compatibility.Fields inherited from class org.apache.sis.internal.referencing.provider.AbstractProvider
sourceCSType, sourceOnEllipsoid, targetCSType, targetOnEllipsoid
Fields inherited from class org.apache.sis.referencing.AbstractIdentifiedObject
DEPRECATED_KEY, LOCALE_KEY
Fields inherited from interface org.opengis.referencing.IdentifiedObject
ALIAS_KEY, IDENTIFIERS_KEY, NAME_KEY, REMARKS_KEY
Fields inherited from interface org.opengis.referencing.operation.OperationMethod
FORMULA_KEY
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) static org.opengis.referencing.operation.MathTransform
create
(org.opengis.referencing.operation.MathTransformFactory factory, Parameters values, boolean geographic) Implementation ofcreateMathTransform(MathTransformFactory, ParameterValueGroup)
shared withGeographicToTopocentric
.org.opengis.referencing.operation.MathTransform
createMathTransform
(org.opengis.referencing.operation.MathTransformFactory factory, org.opengis.parameter.ParameterValueGroup values) Creates a transform from the specified group of parameter values.Methods inherited from class org.apache.sis.internal.referencing.provider.AbstractProvider
addIdentifierAndLegacy, addNameAndLegacy, builder, createLatitude, createLongitude, createMandatoryLatitude, createScale, createShift, createZeroConstant, getOperationType, inverse, recoverableException, resolveAmbiguity
Methods inherited from class org.apache.sis.referencing.operation.DefaultOperationMethod
castOrCopy, computeHashCode, equals, formatTo, getFormula, getInterface, getParameters, getSourceDimensions, getTargetDimensions, redimension, redimension
Methods inherited from class org.apache.sis.referencing.AbstractIdentifiedObject
castOrCopy, equals, formatTo, getAlias, getDescription, getIdentifiers, getName, getRemarks, hashCode, isDeprecated, isHeuristicMatchForName
Methods inherited from class org.apache.sis.io.wkt.FormattableObject
print, toString, toString, toWKT
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.opengis.referencing.IdentifiedObject
getAlias, getIdentifiers, getName, getRemarks, toWKT
-
Field Details
-
serialVersionUID
private static final long serialVersionUIDFor cross-version compatibility.- See Also:
-
ORIGIN_X
The operation parameter descriptor for the Geocentric X of topocentric origin (X) parameter value.Parameter names EPSG: Geocentric X of topocentric origin - No default value
-
ORIGIN_Y
The operation parameter descriptor for the Geocentric Y of topocentric origin (Y) parameter value.Parameter names EPSG: Geocentric Y of topocentric origin - No default value
-
ORIGIN_Z
The operation parameter descriptor for the Geocentric Z of topocentric origin (Z) parameter value.Parameter names EPSG: Geocentric Z of topocentric origin - No default value
-
PARAMETERS
private static final org.opengis.parameter.ParameterDescriptorGroup PARAMETERSThe group of all parameters expected by this coordinate operation.
-
-
Constructor Details
-
GeocentricToTopocentric
public GeocentricToTopocentric()Constructs a provider for the 3-dimensional case.
-
-
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 geocentric to topocentric coordinates.
- Throws:
org.opengis.util.FactoryException
- if an error occurred while creating a transform.
-
create
static org.opengis.referencing.operation.MathTransform create(org.opengis.referencing.operation.MathTransformFactory factory, Parameters values, boolean geographic) throws org.opengis.util.FactoryException, org.opengis.referencing.operation.TransformException Implementation ofcreateMathTransform(MathTransformFactory, ParameterValueGroup)
shared withGeographicToTopocentric
.- Parameters:
factory
- the factory to use for creating the transform.values
- the parameter values that define the transform to create.geographic
-true
if the source coordinates are geographic, orfalse
if the source coordinates are geocentric.- Throws:
org.opengis.util.FactoryException
org.opengis.referencing.operation.TransformException
-