Package org.apache.sis.referencing.crs
Class ExplicitParameters
java.lang.Object
org.apache.sis.io.wkt.FormattableObject
org.apache.sis.referencing.crs.ExplicitParameters
Temporary object for formatting the projection method and parameters inside a
Conversion
element.
This object formats only the explicit parameters. Implicit parameters derived from source ellipsoid are omitted.- Since:
- 0.6
- Version:
- 1.3
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final org.opengis.referencing.operation.Conversion
The conversion which specify the operation method and parameters.private final org.opengis.referencing.datum.Ellipsoid
Semi-major and semi-minor axis lengths, ornull
if the datum is not geodetic.private final String
The keyword to be returned byformatTo(Formatter)
. -
Constructor Summary
ConstructorsConstructorDescriptionExplicitParameters
(AbstractDerivedCRS<?> crs, String keyword) Creates a new temporaryConversion
elements for the parameters of the given CRS. -
Method Summary
Methods inherited from class org.apache.sis.io.wkt.FormattableObject
print, toString, toString, toWKT
-
Field Details
-
conversion
private final org.opengis.referencing.operation.Conversion conversionThe conversion which specify the operation method and parameters. -
ellipsoid
private final org.opengis.referencing.datum.Ellipsoid ellipsoidSemi-major and semi-minor axis lengths, ornull
if the datum is not geodetic. -
keyword
The keyword to be returned byformatTo(Formatter)
. Should beWKTKeywords.Conversion
orWKTKeywords.DerivingConversion
.
-
-
Constructor Details
-
ExplicitParameters
ExplicitParameters(AbstractDerivedCRS<?> crs, String keyword) Creates a new temporaryConversion
elements for the parameters of the given CRS.
-
-
Method Details
-
formatTo
Formats thisConversion
element.- Specified by:
formatTo
in classFormattableObject
- Parameters:
formatter
- the formatter where to format the inner content of this WKT element.- Returns:
- the CamelCase keyword for the WKT element, or
null
if unknown. - See Also:
-
append
Formats thisConversion
element without the conversion name.
-