Class DefaultCylindricalProjection
Object
Formattable
AbstractIdentifiedObject
AbstractCoordinateOperation
DefaultSingleOperation
DefaultOperation
DefaultConversion
DefaultProjection
DefaultCylindricalProjection
- All Implemented Interfaces:
Serializable
,IdentifiedObject
,Conversion
,CoordinateOperation
,CylindricalProjection
,Operation
,Projection
,SingleOperation
public class DefaultCylindricalProjection
extends DefaultProjection
implements CylindricalProjection
Base class for cylindrical map projections.
- Since:
- 2.1
- Author:
- Martin Desruisseaux (IRD)
- See Also:
-
Field Summary
Fields inherited from class DefaultOperation
method
Fields inherited from class AbstractCoordinateOperation
domainOfValidity, EMPTY_ACCURACY_ARRAY, sourceCRS, targetCRS, transform
Fields inherited from class AbstractIdentifiedObject
EMPTY_ALIAS_ARRAY, EMPTY_IDENTIFIER_ARRAY, IDENTIFIER_COMPARATOR, NAME_COMPARATOR, REMARKS_COMPARATOR
Fields inherited from class Formattable
SINGLE_LINE
Fields inherited from interface CoordinateOperation
COORDINATE_OPERATION_ACCURACY_KEY, DOMAIN_OF_VALIDITY_KEY, OPERATION_VERSION_KEY, SCOPE_KEY
Fields inherited from interface IdentifiedObject
ALIAS_KEY, IDENTIFIERS_KEY, NAME_KEY, REMARKS_KEY
-
Constructor Summary
ConstructorsConstructorDescriptionDefaultCylindricalProjection
(Map<String, ?> properties, CoordinateReferenceSystem sourceCRS, CoordinateReferenceSystem targetCRS, MathTransform transform, OperationMethod method) Constructs a projection from a set of properties.DefaultCylindricalProjection
(Conversion conversion, CoordinateReferenceSystem sourceCRS, CoordinateReferenceSystem targetCRS, MathTransform transform) Constructs a new projection with the same values than the specified one, together with the specified source and target CRS. -
Method Summary
Methods inherited from class DefaultConversion
create
Methods inherited from class DefaultOperation
create, equals, formatWKT, getMethod, getParameterValues, hashCode
Methods inherited from class AbstractCoordinateOperation
getAccuracy, getAccuracy, getCoordinateOperationAccuracy, getDomainOfValidity, getMathTransform, getOperationVersion, getScope, getSourceCRS, getTargetCRS, getType
Methods inherited from class AbstractIdentifiedObject
asSet, ensureAngularUnit, ensureLinearUnit, ensureNonNull, ensureNonNull, ensureTimeUnit, equals, equals, equals, equals, getAlias, getIdentifier, getIdentifier, getIdentifiers, getName, getName, getName, getProperties, getProperties, getRemarks, nameMatches, nameMatches, nameMatches
Methods inherited from class Formattable
cleanupThreadLocals, toString, toWKT, toWKT, toWKT, toWKT
Methods inherited from interface Conversion
getOperationVersion, getSourceCRS, getTargetCRS
Methods inherited from interface CoordinateOperation
getCoordinateOperationAccuracy, getDomainOfValidity, getMathTransform, getScope
Methods inherited from interface IdentifiedObject
getAlias, getIdentifiers, getName, getRemarks, toWKT
Methods inherited from interface Operation
getMethod, getParameterValues
-
Constructor Details
-
DefaultCylindricalProjection
public DefaultCylindricalProjection(Conversion conversion, CoordinateReferenceSystem sourceCRS, CoordinateReferenceSystem targetCRS, MathTransform transform) Constructs a new projection with the same values than the specified one, together with the specified source and target CRS. While the source conversion can be an arbitrary one, it is typically a defining conversion.- Parameters:
conversion
- The defining conversion.sourceCRS
- The source CRS.targetCRS
- The target CRS.transform
- Transform from positions in the source CRS to positions in the target CRS.
-
DefaultCylindricalProjection
public DefaultCylindricalProjection(Map<String, ?> properties, CoordinateReferenceSystem sourceCRS, CoordinateReferenceSystem targetCRS, MathTransform transform, OperationMethod method) Constructs a projection from a set of properties. The properties given in argument follow the same rules than for theAbstractCoordinateOperation
constructor.- Parameters:
properties
- Set of properties. Should contains at least"name"
.sourceCRS
- The source CRS, ornull
if not available.targetCRS
- The target CRS, ornull
if not available.transform
- Transform from positions in the source coordinate reference system to positions in the target coordinate reference system.method
- The operation method.
-