public class DefaultProjectedCRS extends AbstractDerivedCRS implements ProjectedCRS
Used with CS type(s) 

Cartesian

_COMPARING, baseCRS, CONVERSION_TYPE_KEY, conversionFromBase
datum
coordinateSystem
EMPTY_ALIAS_ARRAY, EMPTY_IDENTIFIER_ARRAY, IDENTIFIER_COMPARATOR, NAME_COMPARATOR, REMARKS_COMPARATOR
SINGLE_LINE
DOMAIN_OF_VALIDITY_KEY, SCOPE_KEY
ALIAS_KEY, IDENTIFIERS_KEY, NAME_KEY, REMARKS_KEY
Constructor and Description 

DefaultProjectedCRS(Map<String,?> properties,
Conversion conversionFromBase,
GeographicCRS base,
MathTransform baseToDerived,
CartesianCS derivedCS)
Constructs a projected CRS from a defining conversion.

DefaultProjectedCRS(Map<String,?> properties,
GeographicCRS base,
MathTransform baseToDerived,
CartesianCS derivedCS)
Constructs a projected CRS from a set of properties.

DefaultProjectedCRS(Map<String,?> properties,
OperationMethod method,
GeographicCRS base,
MathTransform baseToDerived,
CartesianCS derivedCS)
Deprecated.
Create explicitly a
DefiningConversion instead. 
DefaultProjectedCRS(ProjectedCRS crs)
Constructs a new projected CRS with the same values than the specified one.

DefaultProjectedCRS(String name,
GeographicCRS base,
MathTransform baseToDerived,
CartesianCS derivedCS)
Constructs a projected CRS from a name.

Modifier and Type  Method and Description 

protected String 
formatWKT(Formatter formatter)
Format the inner part of a Well
Known Text (WKT) element.

GeographicCRS 
getBaseCRS()
Returns the base coordinate reference system, which must be geographic.

Projection 
getConversionFromBase()
Returns the map projection from the base CRS to this CRS.

CartesianCS 
getCoordinateSystem()
Returns the coordinate system.

GeodeticDatum 
getDatum()
Returns the datum.

int 
hashCode()
Returns a hash value for this projected CRS.

equals
getAxis, getDimension
distance
getDomainOfValidity, getScope, getValidArea
asSet, ensureAngularUnit, ensureLinearUnit, ensureNonNull, ensureNonNull, ensureTimeUnit, equals, equals, equals, equals, getAlias, getIdentifier, getIdentifier, getIdentifiers, getName, getName, getName, getProperties, getProperties, getRemarks, nameMatches, nameMatches, nameMatches
cleanupThreadLocals, toString, toWKT, toWKT, toWKT, toWKT
getDomainOfValidity, getScope
getAlias, getIdentifiers, getName, getRemarks, toWKT
public DefaultProjectedCRS(ProjectedCRS crs)
crs
 The coordinate reference system to copy.public DefaultProjectedCRS(String name, GeographicCRS base, MathTransform baseToDerived, CartesianCS 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 DefaultProjectedCRS(Map<String,?> properties, GeographicCRS base, MathTransform baseToDerived, CartesianCS derivedCS) throws MismatchedDimensionException
The properties are given unchanged to the superclass constructor.
properties
 Name and other properties to give to the new derived CRS object and to the
underlying projection.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 DefaultProjectedCRS(Map<String,?> properties, OperationMethod method, GeographicCRS base, MathTransform baseToDerived, CartesianCS derivedCS) throws MismatchedDimensionException
DefiningConversion
instead.properties
 Name and other properties to give to the new derived CRS object and to the
underlying projection.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 DefaultProjectedCRS(Map<String,?> properties, Conversion conversionFromBase, GeographicCRS base, MathTransform baseToDerived, CartesianCS derivedCS) throws MismatchedDimensionException
properties
 Name and other properties to give to the new projected CRS object.conversionFromBase
 The defining conversion.base
 Coordinate reference system to base the projected CRS on.baseToDerived
 The transform from the base CRS to returned CRS.derivedCS
 The coordinate system for the projected 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 CartesianCS getCoordinateSystem()
getCoordinateSystem
in interface CoordinateReferenceSystem
getCoordinateSystem
in interface ProjectedCRS
getCoordinateSystem
in interface SingleCRS
getCoordinateSystem
in class AbstractCRS
public GeodeticDatum getDatum()
getDatum
in interface ProjectedCRS
getDatum
in interface SingleCRS
getDatum
in class AbstractSingleCRS
public GeographicCRS getBaseCRS()
getBaseCRS
in interface GeneralDerivedCRS
getBaseCRS
in interface ProjectedCRS
getBaseCRS
in class AbstractDerivedCRS
public Projection getConversionFromBase()
getConversionFromBase
in interface GeneralDerivedCRS
getConversionFromBase
in interface ProjectedCRS
getConversionFromBase
in class AbstractDerivedCRS
public int hashCode()
hashCode
in class AbstractDerivedCRS
protected String formatWKT(Formatter formatter)
formatWKT
in class AbstractDerivedCRS
formatter
 The formatter to use."PROJCS"
.Formattable.toWKT()
,
Formattable.toString()
Copyright © 1996–2018 Geotools. All rights reserved.