Package org.apache.sis.referencing.crs
Class DefaultDerivedCRS.Engineering
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.Engineering
- All Implemented Interfaces:
Serializable
,Formattable
,Deprecable
,LenientComparable
,org.opengis.referencing.crs.CoordinateReferenceSystem
,org.opengis.referencing.crs.DerivedCRS
,org.opengis.referencing.crs.EngineeringCRS
,org.opengis.referencing.crs.GeneralDerivedCRS
,org.opengis.referencing.crs.SingleCRS
,org.opengis.referencing.IdentifiedObject
,org.opengis.referencing.ReferenceSystem
- Enclosing class:
DefaultDerivedCRS
private static final class DefaultDerivedCRS.Engineering
extends DefaultDerivedCRS
implements org.opengis.referencing.crs.EngineeringCRS
An derived engineering CRS. ISO 19162 restricts the base CRS to
EngineeringCRS
, ProjectedCRS
or GeodeticCRS
. Note that in the latter case, an ambiguity may exist with the
DefaultDerivedCRS.Geodetic
when deciding which DerivedCRS
to
create.-
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
ConstructorsConstructorDescriptionEngineering
(Map<String, ?> properties, org.opengis.referencing.crs.EngineeringCRS 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 engineering CRS from the given properties.Engineering
(Map<String, ?> properties, org.opengis.referencing.crs.EngineeringCRS baseCRS, org.opengis.referencing.operation.Conversion conversion, org.opengis.referencing.cs.CoordinateSystem derivedCS) Creates a new engineering CRS from the given properties.Engineering
(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.EngineeringDatum
getDatum()
Returns the datum of the base engineering 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
-
Engineering
Engineering(org.opengis.referencing.crs.DerivedCRS other) Creates a copy of the given CRS. -
Engineering
Engineering(Map<String, ?> properties, org.opengis.referencing.crs.EngineeringCRS baseCRS, org.opengis.referencing.operation.Conversion conversion, org.opengis.referencing.cs.CoordinateSystem derivedCS) Creates a new engineering CRS from the given properties. -
Engineering
Engineering(Map<String, ?> properties, org.opengis.referencing.crs.EngineeringCRS 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 engineering CRS from the given properties.
-
-
Method Details
-
getDatum
public org.opengis.referencing.datum.EngineeringDatum getDatum()Returns the datum of the base engineering CRS.- Specified by:
getDatum
in interfaceorg.opengis.referencing.crs.EngineeringCRS
- 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
-