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.- Since:
- 0.6
- Version:
- 1.3
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final longFor cross-version compatibility.Fields inherited from class AbstractIdentifiedObject
DEPRECATED_KEY, LOCALE_KEYFields inherited from interface org.opengis.referencing.IdentifiedObject
ALIAS_KEY, IDENTIFIERS_KEY, NAME_KEY, REMARKS_KEYFields 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) AbstractCRScreateSameType(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.EngineeringDatumgetDatum()Returns the datum of the base engineering CRS.(package private) SC_DerivedCRSTypegetType()Returns the GML code for this derived CRS type.(package private) StringReturns the WKT keyword for this derived CRS type.Methods inherited from class DefaultDerivedCRS
castOrCopy, computeHashCode, create, create, equals, forConvention, formatTo, getBaseCRS, getConversionFromBase, getConversionType, getCoordinateSystem, getInterface, getTypeMethods inherited from class AbstractDerivedCRS
setBaseCRSMethods inherited from class AbstractCRS
castOrCopy, formatCS, getCached, getCoordinateSystem, isBaseCRS, setCached, setCoordinateSystemMethods inherited from class AbstractReferenceSystem
getDomainOfValidity, getScopeMethods inherited from class AbstractIdentifiedObject
castOrCopy, equals, formatTo, getAlias, getDescription, getIdentifiers, getName, getRemarks, hashCode, isDeprecated, isHeuristicMatchForNameMethods inherited from class FormattableObject
print, toString, toString, toWKTMethods inherited from interface org.opengis.referencing.IdentifiedObject
getAlias, getIdentifiers, getName, getRemarks, toWKTMethods inherited from interface org.opengis.referencing.ReferenceSystem
getDomainOfValidity, getScopeMethods 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
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:
getDatumin interfaceorg.opengis.referencing.crs.EngineeringCRS- Specified by:
getDatumin interfaceorg.opengis.referencing.crs.SingleCRS- Overrides:
getDatumin 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:
createSameTypein classDefaultDerivedCRS
-
keyword
Returns the WKT keyword for this derived CRS type.- Overrides:
keywordin classDefaultDerivedCRS
-
getType
SC_DerivedCRSType getType()Returns the GML code for this derived CRS type.- Overrides:
getTypein classDefaultDerivedCRS
-