Class GeographicOffsets
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.GeodeticOperation
org.apache.sis.internal.referencing.provider.GeographicOffsets
- All Implemented Interfaces:
Serializable
,Formattable
,MathTransformProvider
,Deprecable
,LenientComparable
,org.opengis.referencing.IdentifiedObject
,org.opengis.referencing.operation.OperationMethod
- Direct Known Subclasses:
GeographicAndVerticalOffsets
,GeographicOffsets2D
,LongitudeRotation
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 Summary
FieldsModifier and TypeFieldDescriptionprivate static final org.opengis.parameter.ParameterDescriptorGroup
The group of all parameters expected by this coordinate operation.private static final long
Serial number for inter-operability with different versions.(package private) static final org.opengis.parameter.ParameterDescriptor<Double>
The operation parameter descriptor for the "Longitude offset" parameter value.(package private) static final org.opengis.parameter.ParameterDescriptor<Double>
The operation parameter descriptor for the "Latitude offset" parameter value.(package private) static final org.opengis.parameter.ParameterDescriptor<Double>
The operation parameter descriptor for the "Vertical Offset" parameter value.Fields inherited from class org.apache.sis.internal.referencing.provider.GeodeticOperation
redimensioned
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
ConstructorsConstructorDescriptionConstructs a provider with default parameters.GeographicOffsets
(int sourceDimensions, int targetDimensions, org.opengis.parameter.ParameterDescriptorGroup parameters, GeodeticOperation[] redimensioned) For default constructors in this class and subclasses. -
Method Summary
Modifier and TypeMethodDescriptionorg.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.(package private) org.opengis.parameter.ParameterDescriptor<Double>
vertical()
Returns the parameter descriptor for the vertical axis.Methods inherited from class org.apache.sis.internal.referencing.provider.GeodeticOperation
inverse, redimension, variant3D
Methods inherited from class org.apache.sis.internal.referencing.provider.AbstractProvider
addIdentifierAndLegacy, addNameAndLegacy, builder, createLatitude, createLongitude, createMandatoryLatitude, createScale, createShift, createZeroConstant, getOperationType, recoverableException, resolveAmbiguity
Methods inherited from class org.apache.sis.referencing.operation.DefaultOperationMethod
castOrCopy, computeHashCode, equals, formatTo, getFormula, getInterface, getParameters, getSourceDimensions, getTargetDimensions, 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 serialVersionUIDSerial number for inter-operability with different versions.- See Also:
-
TX
The operation parameter descriptor for the "Longitude offset" parameter value.Parameter names EPSG: Longitude offset -
TY
The operation parameter descriptor for the "Latitude offset" parameter value.Parameter names EPSG: Latitude offset -
TZ
The operation parameter descriptor for the "Vertical Offset" parameter value.Parameter names EPSG: Vertical Offset -
PARAMETERS
private static final org.opengis.parameter.ParameterDescriptorGroup PARAMETERSThe 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.
-