Class Geographic3Dto2D.WKT
java.lang.Object
org.apache.sis.io.wkt.FormattableObject
org.apache.sis.internal.referencing.provider.Geographic3Dto2D.WKT
- All Implemented Interfaces:
Parameterized
- Enclosing class:
- Geographic3Dto2D
A temporary placeholder used for formatting a
PARAM_MT["Geographic 3D to 2D conversion"]
element in
Well-Known Text format. This placeholder is needed because there is no MathTransform
implementation
for the Geographic 3D to 2D conversion, since we use affine transform instead.-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final boolean
true
if this placeholder is for the inverse transform instead of the direct one. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected String
Formats a Well Known Text version 1 (WKT 1) element for a transform using this group of parameters.org.opengis.parameter.ParameterDescriptorGroup
Returns the parameters descriptor.org.opengis.parameter.ParameterValueGroup
Returns the parameter values.Methods inherited from class org.apache.sis.io.wkt.FormattableObject
print, toString, toString, toWKT
-
Field Details
-
inverse
private final boolean inversetrue
if this placeholder is for the inverse transform instead of the direct one.
-
-
Constructor Details
-
WKT
public WKT(boolean inverse) Creates a new object to be formatted.- Parameters:
inverse
-false
for the "Geographic3D to 2D" operation, ortrue
for its inverse.
-
-
Method Details
-
getParameterDescriptors
public org.opengis.parameter.ParameterDescriptorGroup getParameterDescriptors()Returns the parameters descriptor.- Specified by:
getParameterDescriptors
in interfaceParameterized
- Returns:
- the parameter descriptors for this object, or
null
.
-
getParameterValues
public org.opengis.parameter.ParameterValueGroup getParameterValues()Returns the parameter values.- Specified by:
getParameterValues
in interfaceParameterized
- Returns:
- the parameter values for this object, or
null
if unknown.
-
formatTo
Formats a Well Known Text version 1 (WKT 1) element for a transform using this group of parameters.Compatibility note:Param_MT
is defined in the WKT 1 specification only. If the formatter convention is set to WKT 2, then this method silently uses the WKT 1 convention without raising an error.- Specified by:
formatTo
in classFormattableObject
- Parameters:
formatter
- the formatter where to format the inner content of this WKT element.- Returns:
"Param_MT"
or"Inverse_MT"
.- See Also:
-