Package org.apache.sis.referencing.crs
Class DefaultDerivedCRS.Geodetic
java.lang.Object
org.apache.sis.io.wkt.FormattableObject
org.apache.sis.referencing.AbstractIdentifiedObject
org.apache.sis.referencing.AbstractReferenceSystem
org.apache.sis.referencing.crs.AbstractCRS
org.apache.sis.referencing.crs.AbstractDerivedCRS<org.opengis.referencing.operation.Conversion>
org.apache.sis.referencing.crs.DefaultDerivedCRS
org.apache.sis.referencing.crs.DefaultDerivedCRS.Geodetic
- All Implemented Interfaces:
Serializable
,Formattable
,Deprecable
,LenientComparable
,org.opengis.referencing.crs.CoordinateReferenceSystem
,org.opengis.referencing.crs.DerivedCRS
,org.opengis.referencing.crs.GeneralDerivedCRS
,org.opengis.referencing.crs.GeodeticCRS
,org.opengis.referencing.crs.SingleCRS
,org.opengis.referencing.IdentifiedObject
,org.opengis.referencing.ReferenceSystem
- Enclosing class:
DefaultDerivedCRS
private static final class DefaultDerivedCRS.Geodetic
extends DefaultDerivedCRS
implements org.opengis.referencing.crs.GeodeticCRS
A derived geodetic CRS. Note that base CRS of kind
GeodeticCRS
can be used both with this class
and with DefaultDerivedCRS.Engineering
. Consequently, an ambiguity
may exist when choosing the kind if DerivedCRS
to create for a given GeodeticCRS
.-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final long
For cross-version compatibility.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.ReferenceSystem
DOMAIN_OF_VALIDITY_KEY, SCOPE_KEY
-
Constructor Summary
ConstructorsConstructorDescriptionGeodetic
(Map<String, ?> properties, org.opengis.referencing.crs.GeodeticCRS baseCRS, org.opengis.referencing.crs.CoordinateReferenceSystem interpolationCRS, org.opengis.referencing.operation.OperationMethod method, org.opengis.referencing.operation.MathTransform baseToDerived, org.opengis.referencing.cs.CoordinateSystem derivedCS) Creates a new geodetic CRS from the given properties.Geodetic
(Map<String, ?> properties, org.opengis.referencing.crs.GeodeticCRS baseCRS, org.opengis.referencing.operation.Conversion conversion, org.opengis.referencing.cs.CoordinateSystem derivedCS) Creates a new geodetic CRS from the given properties.Geodetic
(org.opengis.referencing.crs.DerivedCRS other) Creates a copy of the given CRS. -
Method Summary
Modifier and TypeMethodDescription(package private) AbstractCRS
createSameType
(Map<String, ?> properties, org.opengis.referencing.cs.CoordinateSystem derivedCS) Returns a coordinate reference system of the same type than this CRS but with different axes.org.opengis.referencing.datum.GeodeticDatum
getDatum()
Returns the datum of the base geodetic CRS.(package private) SC_DerivedCRSType
getType()
Returns the GML code for this derived CRS type.(package private) String
Returns the WKT keyword for this derived CRS type.Methods inherited from class org.apache.sis.referencing.crs.DefaultDerivedCRS
castOrCopy, computeHashCode, create, create, equals, forConvention, formatTo, getBaseCRS, getConversionFromBase, getConversionType, getCoordinateSystem, getInterface, getType
Methods inherited from class org.apache.sis.referencing.crs.AbstractDerivedCRS
setBaseCRS
Methods inherited from class org.apache.sis.referencing.crs.AbstractCRS
castOrCopy, formatCS, getCached, getCoordinateSystem, isBaseCRS, setCached, setCoordinateSystem
Methods inherited from class org.apache.sis.referencing.AbstractReferenceSystem
getDomainOfValidity, getScope
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
Methods inherited from interface org.opengis.referencing.ReferenceSystem
getDomainOfValidity, getScope
Methods inherited from interface org.opengis.referencing.crs.SingleCRS
getCoordinateSystem
-
Field Details
-
serialVersionUID
private static final long serialVersionUIDFor cross-version compatibility.- See Also:
-
-
Constructor Details
-
Geodetic
Geodetic(org.opengis.referencing.crs.DerivedCRS other) Creates a copy of the given CRS. -
Geodetic
Geodetic(Map<String, ?> properties, org.opengis.referencing.crs.GeodeticCRS baseCRS, org.opengis.referencing.operation.Conversion conversion, org.opengis.referencing.cs.CoordinateSystem derivedCS) Creates a new geodetic CRS from the given properties. -
Geodetic
Geodetic(Map<String, ?> properties, org.opengis.referencing.crs.GeodeticCRS baseCRS, org.opengis.referencing.crs.CoordinateReferenceSystem interpolationCRS, org.opengis.referencing.operation.OperationMethod method, org.opengis.referencing.operation.MathTransform baseToDerived, org.opengis.referencing.cs.CoordinateSystem derivedCS) Creates a new geodetic CRS from the given properties.
-
-
Method Details
-
getDatum
public org.opengis.referencing.datum.GeodeticDatum getDatum()Returns the datum of the base geodetic CRS.- Specified by:
getDatum
in interfaceorg.opengis.referencing.crs.GeodeticCRS
- Specified by:
getDatum
in interfaceorg.opengis.referencing.crs.SingleCRS
- Overrides:
getDatum
in classDefaultDerivedCRS
- Returns:
- the datum of the base CRS.
-
createSameType
AbstractCRS createSameType(Map<String, ?> properties, org.opengis.referencing.cs.CoordinateSystem derivedCS) Returns a coordinate reference system of the same type than this CRS but with different axes.- Overrides:
createSameType
in classDefaultDerivedCRS
-
keyword
Returns the WKT keyword for this derived CRS type.- Overrides:
keyword
in classDefaultDerivedCRS
-
getType
SC_DerivedCRSType getType()Returns the GML code for this derived CRS type.- Overrides:
getType
in classDefaultDerivedCRS
-