org.geotools.referencing.operation.transform
Class MolodenskiTransform.Provider

java.lang.Object
  extended by org.geotools.referencing.wkt.Formattable
      extended by org.geotools.referencing.AbstractIdentifiedObject
          extended by org.geotools.referencing.operation.DefaultOperationMethod
              extended by org.geotools.referencing.operation.MathTransformProvider
                  extended by org.geotools.referencing.operation.transform.MolodenskiTransform.Provider
All Implemented Interfaces:
java.io.Serializable, org.opengis.referencing.IdentifiedObject, org.opengis.referencing.operation.OperationMethod
Direct Known Subclasses:
MolodenskiTransform.ProviderAbridged
Enclosing class:
MolodenskiTransform

public static class MolodenskiTransform.Provider
extends MathTransformProvider

The provider for MolodenskiTransform. This provider will construct transforms from geographic to geographic coordinate reference systems.

Note: The EPSG does not use src_semi_major, etc. parameters and instead uses "Semi-major axis length difference" and "Flattening difference".

Version:
$Id: MolodenskiTransform.java 33894 2009-09-11 10:51:02Z simonegiannecchini $
Author:
Rueben Schulz
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class org.geotools.referencing.operation.MathTransformProvider
MathTransformProvider.Delegate
 
Field Summary
static org.opengis.parameter.ParameterDescriptor<java.lang.Integer> DIM
          The number of geographic dimension (2 or 3).
static org.opengis.parameter.ParameterDescriptor<java.lang.Double> DX
          The operation parameter descriptor for the X-axis translation ("dx") parameter value.
static org.opengis.parameter.ParameterDescriptor<java.lang.Double> DY
          The operation parameter descriptor for the Y-axis translation ("dy") parameter value.
static org.opengis.parameter.ParameterDescriptor<java.lang.Double> DZ
          The operation parameter descriptor for the Z-axis translation ("dz") parameter value.
static org.opengis.parameter.ParameterDescriptor<java.lang.Integer> SRC_DIM
          The number of source geographic dimension (2 or 3).
static org.opengis.parameter.ParameterDescriptor<java.lang.Double> SRC_SEMI_MAJOR
          The operation parameter descriptor for the "src_semi_major" parameter value.
static org.opengis.parameter.ParameterDescriptor<java.lang.Double> SRC_SEMI_MINOR
          The operation parameter descriptor for the "src_semi_minor" parameter value.
static org.opengis.parameter.ParameterDescriptor<java.lang.Integer> TGT_DIM
          The number of target geographic dimension (2 or 3).
static org.opengis.parameter.ParameterDescriptor<java.lang.Double> TGT_SEMI_MAJOR
          The operation parameter descriptor for the "tgt_semi_major" parameter value.
static org.opengis.parameter.ParameterDescriptor<java.lang.Double> TGT_SEMI_MINOR
          The operation parameter descriptor for the "tgt_semi_minor" parameter value.
 
Fields inherited from class org.geotools.referencing.operation.DefaultOperationMethod
sourceDimensions, targetDimensions
 
Fields inherited from class org.geotools.referencing.AbstractIdentifiedObject
EMPTY_ALIAS_ARRAY, EMPTY_IDENTIFIER_ARRAY, IDENTIFIER_COMPARATOR, NAME_COMPARATOR, REMARKS_COMPARATOR
 
Fields inherited from class org.geotools.referencing.wkt.Formattable
SINGLE_LINE
 
Fields inherited from interface org.opengis.referencing.operation.OperationMethod
FORMULA_KEY
 
Fields inherited from interface org.opengis.referencing.IdentifiedObject
ALIAS_KEY, IDENTIFIERS_KEY, NAME_KEY, REMARKS_KEY
 
Constructor Summary
MolodenskiTransform.Provider()
          Constructs a provider.
 
Method Summary
protected  org.opengis.referencing.operation.MathTransform createMathTransform(org.opengis.parameter.ParameterValueGroup values)
          Creates a math transform from the specified group of parameter values.
 java.lang.Class<org.opengis.referencing.operation.Transformation> getOperationType()
          Returns the operation type.
 
Methods inherited from class org.geotools.referencing.operation.MathTransformProvider
createDescriptor, createDescriptorGroup, createOptionalDescriptor, doubleValue, ensureValidValues, formatWKT, getParameter, intValue, stringValue, value
 
Methods inherited from class org.geotools.referencing.operation.DefaultOperationMethod
checkDimensions, equals, getFormula, getParameters, getSourceDimensions, getTargetDimensions, hashCode
 
Methods inherited from class org.geotools.referencing.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 org.geotools.referencing.wkt.Formattable
cleanupThreadLocals, toString, toWKT, toWKT, toWKT
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.opengis.referencing.IdentifiedObject
getAlias, getIdentifiers, getName, getRemarks, toWKT
 

Field Detail

DIM

public static final org.opengis.parameter.ParameterDescriptor<java.lang.Integer> DIM
The number of geographic dimension (2 or 3). This argument applies on both the source and the target dimension. The default value is 2.


SRC_DIM

public static final org.opengis.parameter.ParameterDescriptor<java.lang.Integer> SRC_DIM
The number of source geographic dimension (2 or 3). This is a Geotools-specific argument.


TGT_DIM

public static final org.opengis.parameter.ParameterDescriptor<java.lang.Integer> TGT_DIM
The number of target geographic dimension (2 or 3). This is a Geotools-specific argument.


DX

public static final org.opengis.parameter.ParameterDescriptor<java.lang.Double> DX
The operation parameter descriptor for the X-axis translation ("dx") parameter value. Valid values range from -infinity to infinity. Units are meters.


DY

public static final org.opengis.parameter.ParameterDescriptor<java.lang.Double> DY
The operation parameter descriptor for the Y-axis translation ("dy") parameter value. Valid values range from -infinity to infinity. Units are meters.


DZ

public static final org.opengis.parameter.ParameterDescriptor<java.lang.Double> DZ
The operation parameter descriptor for the Z-axis translation ("dz") parameter value. Valid values range from -infinity to infinity. Units are meters.


SRC_SEMI_MAJOR

public static final org.opengis.parameter.ParameterDescriptor<java.lang.Double> SRC_SEMI_MAJOR
The operation parameter descriptor for the "src_semi_major" parameter value. Valid values range from 0 to infinity.


SRC_SEMI_MINOR

public static final org.opengis.parameter.ParameterDescriptor<java.lang.Double> SRC_SEMI_MINOR
The operation parameter descriptor for the "src_semi_minor" parameter value. Valid values range from 0 to infinity.


TGT_SEMI_MAJOR

public static final org.opengis.parameter.ParameterDescriptor<java.lang.Double> TGT_SEMI_MAJOR
The operation parameter descriptor for the "tgt_semi_major" parameter value. Valid values range from 0 to infinity.


TGT_SEMI_MINOR

public static final org.opengis.parameter.ParameterDescriptor<java.lang.Double> TGT_SEMI_MINOR
The operation parameter descriptor for the "tgt_semi_minor" parameter value. Valid values range from 0 to infinity.

Constructor Detail

MolodenskiTransform.Provider

public MolodenskiTransform.Provider()
Constructs a provider.

Method Detail

getOperationType

public java.lang.Class<org.opengis.referencing.operation.Transformation> getOperationType()
Returns the operation type.

Overrides:
getOperationType in class MathTransformProvider
Returns:
The GeoAPI interface implemented by this operation.

createMathTransform

protected org.opengis.referencing.operation.MathTransform createMathTransform(org.opengis.parameter.ParameterValueGroup values)
                                                                       throws org.opengis.parameter.ParameterNotFoundException
Creates a math transform from the specified group of parameter values.

Specified by:
createMathTransform in class MathTransformProvider
Parameters:
values - The group of parameter values.
Returns:
The created math transform.
Throws:
org.opengis.parameter.ParameterNotFoundException - if a required parameter was not found.
See Also:
MathTransformProvider.Delegate


Copyright © 1996-2010 Geotools. All Rights Reserved.