Class MapProjection3D
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.MapProjection3D
- All Implemented Interfaces:
Serializable
,Formattable
,MathTransformProvider
,Deprecable
,LenientComparable
,org.opengis.referencing.IdentifiedObject
,org.opengis.referencing.operation.OperationMethod
Deprecated.
ISO 19111:2019 removed source/target dimensions attributes.
The three-dimensional counter-part of a map projection. This is the same than two-dimensional map projections
with only the ellipsoidal height which pass through.
- Since:
- 0.8
- Version:
- 1.3
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final MapProjection
Deprecated.ISO 19111:2019 removed source/target dimensions attributes.private static final long
Deprecated.Serial number for inter-operability with different versions.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
ConstructorsConstructorDescriptionMapProjection3D
(MapProjection proj) Deprecated.Constructs a three-dimensional map projection for the given two-dimensional projection. -
Method Summary
Modifier and TypeMethodDescriptionorg.opengis.referencing.operation.MathTransform
createMathTransform
(org.opengis.referencing.operation.MathTransformFactory factory, org.opengis.parameter.ParameterValueGroup parameters) Deprecated.Creates a three-dimensional map projections for the given parameters.org.opengis.referencing.operation.OperationMethod
redimension
(int sourceDimensions, int targetDimensions) Deprecated.ISO 19111:2019 removed source/target dimensions attributes.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
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 serialVersionUIDDeprecated.Serial number for inter-operability with different versions.- See Also:
-
redimensioned
Deprecated.ISO 19111:2019 removed source/target dimensions attributes.The two-dimensional counterpart of this three-dimensional map projection.
-
-
Constructor Details
-
MapProjection3D
MapProjection3D(MapProjection proj) Deprecated.Constructs a three-dimensional map projection for the given two-dimensional projection.
-
-
Method Details
-
redimension
@Deprecated public org.opengis.referencing.operation.OperationMethod redimension(int sourceDimensions, int targetDimensions) Deprecated.ISO 19111:2019 removed source/target dimensions attributes.Returns this operation method with the specified number of dimensions. The number of dimensions can be only 2 or 3, and must be the same for source and target CRS.- Overrides:
redimension
in classDefaultOperationMethod
- Parameters:
sourceDimensions
- the desired number of input dimensions.targetDimensions
- the desired number of output dimensions.- Returns:
- the redimensioned operation method, or
this
if no change is needed.
-
createMathTransform
public org.opengis.referencing.operation.MathTransform createMathTransform(org.opengis.referencing.operation.MathTransformFactory factory, org.opengis.parameter.ParameterValueGroup parameters) throws org.opengis.util.FactoryException Deprecated.Creates a three-dimensional map projections for the given parameters. The ellipsoidal height is assumed to be in the third dimension.- Parameters:
factory
- the factory to use if this constructor needs to create other math transforms.parameters
- the parameter values that define the transform to create.- Returns:
- the math transform created from the given parameters.
- Throws:
org.opengis.util.FactoryException
- if the math transform cannot be created for some other reason (for example a required file was not found).
-