|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
ObjectFormattableObject
AbstractIdentifiedObject
DefaultOperationMethod
MathTransformProvider
MapProjection
@Immutable public abstract class MapProjection
The base provider for map projections.
This base class defines the descriptors for the most commonly used parameters. Subclasses will
declare the parameters they use in a descriptor group
named PARAMETERS.
| referencing/geotk-referencing (download) | View source code for this class |
| Field Summary | |
|---|---|
static ParameterDescriptor<Boolean> |
ROLL_LONGITUDE
Deprecated. Invoke PARAMETERS.descriptor(String) instead. |
static ParameterDescriptor<Double> |
SEMI_MAJOR
Deprecated. Invoke PARAMETERS.descriptor(String) instead. |
static ParameterDescriptor<Double> |
SEMI_MINOR
Deprecated. Invoke PARAMETERS.descriptor(String) instead. |
static ParameterDescriptor<Double> |
X_SCALE
Deprecated. Invoke PARAMETERS.descriptor(String) instead. |
static ParameterDescriptor<Double> |
XY_PLANE_ROTATION
Deprecated. Invoke PARAMETERS.descriptor(String) instead. |
static ParameterDescriptor<Double> |
Y_SCALE
Deprecated. Invoke PARAMETERS.descriptor(String) instead. |
| Fields inherited from class DefaultOperationMethod |
|---|
sourceDimension, targetDimension |
| Fields inherited from class FormattableObject |
|---|
EPSG, GEOTIFF, INTERNAL, OGC, SINGLE_LINE |
| Fields inherited from interface OperationMethod |
|---|
FORMULA_KEY |
| Fields inherited from interface IdentifiedObject |
|---|
ALIAS_KEY, IDENTIFIERS_KEY, NAME_KEY, REMARKS_KEY |
| Constructor Summary | |
|---|---|
protected |
MapProjection(ParameterDescriptorGroup parameters)
Constructs a math transform provider from a set of parameters. |
| Method Summary | |
|---|---|
protected abstract MathTransform2D |
createMathTransform(ParameterValueGroup values)
Creates a map projection from the specified group of parameter values. |
Class<? extends Projection> |
getOperationType()
Returns the operation type for this map projection. |
| Methods inherited from class MathTransformProvider |
|---|
ensureValidValues, formatWKT |
| Methods inherited from class DefaultOperationMethod |
|---|
checkDimensions, computeHashCode, equals, getFormula, getParameters, getSourceDimensions, getTargetDimensions |
| Methods inherited from class AbstractIdentifiedObject |
|---|
equals, getAlias, getIdentifier, getIdentifiers, getName, getName, getRemarks, hashCode, isDeprecated, nameMatches |
| Methods inherited from class FormattableObject |
|---|
getDefaultIndentation, print, setDefaultIndentation, toString, toWKT, toWKT, toWKT, toWKT |
| Methods inherited from class Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface IdentifiedObject |
|---|
getAlias, getIdentifiers, getName, getRemarks, toWKT |
| Field Detail |
|---|
@Deprecated public static final ParameterDescriptor<Double> SEMI_MAJOR
PARAMETERS.descriptor(String) instead.
@Deprecated public static final ParameterDescriptor<Double> SEMI_MINOR
PARAMETERS.descriptor(String) instead.
@Deprecated public static final ParameterDescriptor<Boolean> ROLL_LONGITUDE
PARAMETERS.descriptor(String) instead.true, then the value of (longitude - central meridian) will be rolled to the [-180 … 180)° range before the projection
is applied. If false, then longitude rolling is never applied. If not provided, then
the default behavior is to roll longitude only if the central meridian is different than zero.
This is a Geotk-specific parameter.
@Deprecated public static final ParameterDescriptor<Double> X_SCALE
PARAMETERS.descriptor(String) instead."X_Scale" parameter value.
Valid values range is unrestricted. This parameter is optional and its default value is 1.
This is an ESRI-specific parameter, but its usage could be extended to any projection. The choice to allow this parameter or not is taken on a projection-by-projection basis.
@Deprecated public static final ParameterDescriptor<Double> Y_SCALE
PARAMETERS.descriptor(String) instead."Y_Scale" parameter value.
Valid values range is unrestricted. This parameter is optional and its default value is 1.
This is an ESRI-specific parameter, but its usage could be extended to any projection. The choice to allow this parameter or not is taken on a projection-by-projection basis.
@Deprecated public static final ParameterDescriptor<Double> XY_PLANE_ROTATION
PARAMETERS.descriptor(String) instead."XY_Plane_Rotation" parameter value.
The rotation is applied before the false easting and false northing
translation, if any. Valid values range is [-360 … 360]°. This parameter is
optional and its default value is 0°.
This is an ESRI-specific parameter, but its usage could be extended to any projections. The choice to allow this parameter or not is taken on a projection-by-projection basis.
| Constructor Detail |
|---|
protected MapProjection(ParameterDescriptorGroup parameters)
parameters - The set of parameters (never null).| Method Detail |
|---|
public Class<? extends Projection> getOperationType()
getOperationType in class MathTransformProvider
protected abstract MathTransform2D createMathTransform(ParameterValueGroup values)
throws ParameterNotFoundException
createMathTransform in class MathTransformProvidervalues - The group of parameter values.
ParameterNotFoundException - if a required parameter was not found.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||