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.ConversionThe conversion which specify the operation method and parameters.private final org.opengis.referencing.datum.EllipsoidSemi-major and semi-minor axis lengths, ornullif the datum is not geodetic.private final StringThe keyword to be returned byformatTo(Formatter). -
Constructor Summary
ConstructorsConstructorDescriptionExplicitParameters(AbstractDerivedCRS<?> crs, String keyword) Creates a new temporaryConversionelements 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, ornullif the datum is not geodetic. -
keyword
The keyword to be returned byformatTo(Formatter). Should beWKTKeywords.ConversionorWKTKeywords.DerivingConversion.
-
-
Constructor Details
-
ExplicitParameters
ExplicitParameters(AbstractDerivedCRS<?> crs, String keyword) Creates a new temporaryConversionelements for the parameters of the given CRS.
-
-
Method Details
-
formatTo
Formats thisConversionelement.- Specified by:
formatToin classFormattableObject- Parameters:
formatter- the formatter where to format the inner content of this WKT element.- Returns:
- the CamelCase keyword for the WKT element, or
nullif unknown. - See Also:
-
append
Formats thisConversionelement without the conversion name.
-