public class DefaultDerivedCRS extends AbstractDerivedCRS implements DerivedCRS
_COMPARING, baseCRS, CONVERSION_TYPE_KEY, conversionFromBasedatumcoordinateSystemEMPTY_ALIAS_ARRAY, EMPTY_IDENTIFIER_ARRAY, IDENTIFIER_COMPARATOR, NAME_COMPARATOR, REMARKS_COMPARATORSINGLE_LINEDOMAIN_OF_VALIDITY_KEY, SCOPE_KEYALIAS_KEY, IDENTIFIERS_KEY, NAME_KEY, REMARKS_KEY| Constructor and Description |
|---|
DefaultDerivedCRS(DerivedCRS crs)
Constructs a new derived CRS with the same values than the specified one.
|
DefaultDerivedCRS(Map<String,?> properties,
Conversion conversionFromBase,
CoordinateReferenceSystem base,
MathTransform baseToDerived,
CoordinateSystem derivedCS)
Constructs a derived CRS from a defining conversion.
|
DefaultDerivedCRS(Map<String,?> properties,
CoordinateReferenceSystem base,
MathTransform baseToDerived,
CoordinateSystem derivedCS)
Constructs a derived CRS from a set of properties.
|
DefaultDerivedCRS(Map<String,?> properties,
OperationMethod method,
CoordinateReferenceSystem base,
MathTransform baseToDerived,
CoordinateSystem derivedCS)
Deprecated.
Create explicitly a
DefiningConversion instead. |
DefaultDerivedCRS(String name,
CoordinateReferenceSystem base,
MathTransform baseToDerived,
CoordinateSystem derivedCS)
Constructs a derived CRS from a name.
|
| Modifier and Type | Method and Description |
|---|---|
int |
hashCode()
Returns a hash value for this derived CRS.
|
equals, formatWKT, getBaseCRS, getConversionFromBasegetAxis, getDatum, getDimensiondistance, getCoordinateSystemgetDomainOfValidity, getScope, getValidAreaasSet, ensureAngularUnit, ensureLinearUnit, ensureNonNull, ensureNonNull, ensureTimeUnit, equals, equals, equals, equals, getAlias, getIdentifier, getIdentifier, getIdentifiers, getName, getName, getName, getProperties, getProperties, getRemarks, nameMatches, nameMatches, nameMatchescleanupThreadLocals, toString, toWKT, toWKT, toWKT, toWKTgetBaseCRS, getConversionFromBasegetCoordinateSystem, getDatumgetDomainOfValidity, getScopegetAlias, getIdentifiers, getName, getRemarks, toWKTpublic DefaultDerivedCRS(DerivedCRS crs)
crs - The coordinate reference system to copy.public DefaultDerivedCRS(String name, CoordinateReferenceSystem base, MathTransform baseToDerived, CoordinateSystem derivedCS) throws MismatchedDimensionException
name - The name.base - Coordinate reference system to base the derived CRS on.baseToDerived - The transform from the base CRS to returned CRS.derivedCS - The coordinate system for the derived CRS. The number of axes must match the
target dimension of the transform baseToDerived.MismatchedDimensionException - if the source and target dimension of baseToDeviced don't match the dimension of base and derivedCS
respectively.public DefaultDerivedCRS(Map<String,?> properties, CoordinateReferenceSystem base, MathTransform baseToDerived, CoordinateSystem derivedCS) throws MismatchedDimensionException
The properties are given unchanged to the super-class constructor.
properties - Name and other properties to give to the new derived CRS object and to the
underlying conversion.base - Coordinate reference system to base the derived CRS on.baseToDerived - The transform from the base CRS to returned CRS.derivedCS - The coordinate system for the derived CRS. The number of axes must match the
target dimension of the transform baseToDerived.MismatchedDimensionException - if the source and target dimension of baseToDeviced don't match the dimension of base and derivedCS
respectively.public DefaultDerivedCRS(Map<String,?> properties, OperationMethod method, CoordinateReferenceSystem base, MathTransform baseToDerived, CoordinateSystem derivedCS) throws MismatchedDimensionException
DefiningConversion instead.properties - Name and other properties to give to the new derived CRS object and to the
underlying conversion.method - A description of the method for the
conversion.base - Coordinate reference system to base the derived CRS on.baseToDerived - The transform from the base CRS to returned CRS.derivedCS - The coordinate system for the derived CRS. The number of axes must match the
target dimension of the transform baseToDerived.MismatchedDimensionException - if the source and target dimension of baseToDeviced don't match the dimension of base and derivedCS
respectively.public DefaultDerivedCRS(Map<String,?> properties, Conversion conversionFromBase, CoordinateReferenceSystem base, MathTransform baseToDerived, CoordinateSystem derivedCS) throws MismatchedDimensionException
properties - Name and other properties to give to the new derived CRS object.conversionFromBase - The defining conversion.base - Coordinate reference system to base the derived CRS on.baseToDerived - The transform from the base CRS to returned CRS.derivedCS - The coordinate system for the derived CRS. The number of axes must match the
target dimension of the transform baseToDerived.MismatchedDimensionException - if the source and target dimension of baseToDerived don't match the dimension of base and derivedCS
respectively.public int hashCode()
hashCode in class AbstractDerivedCRSCopyright © 1996–2019 Geotools. All rights reserved.