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

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

public static class GeocentricTranslation.Provider
extends MathTransformProvider

Base class for geocentric affine transform providers. This base class is the provider for the "Geocentric translations" operation (EPSG code 9603). The translation terms are the same for the 2 derived operations, "Position Vector 7-param. transformation" and "Coordinate Frame rotation".

Since:
2.2
Version:
$Id: GeocentricTranslation.java 17672 2006-01-19 00:25:55Z desruisseaux $
Author:
Martin Desruisseaux
See Also:
Serialized Form

Nested Class Summary
 
Nested classes inherited from class org.geotools.referencing.operation.MathTransformProvider
MathTransformProvider.Delegate
 
Field Summary
static org.opengis.parameter.ParameterDescriptor DX
          The operation parameter descriptor for the X-axis translation ("dx") parameter value.
static org.opengis.parameter.ParameterDescriptor DY
          The operation parameter descriptor for the Y-axis translation ("dy") parameter value.
static org.opengis.parameter.ParameterDescriptor DZ
          The operation parameter descriptor for the Z-axis translation ("dz") parameter value.
static org.opengis.parameter.ParameterDescriptor SRC_DIM
          The number of source geographic dimension (2 or 3).
static org.opengis.parameter.ParameterDescriptor SRC_SEMI_MAJOR
          The operation parameter descriptor for the "src_semi_major" optional parameter value.
static org.opengis.parameter.ParameterDescriptor SRC_SEMI_MINOR
          The operation parameter descriptor for the "src_semi_minor" optional parameter value.
static org.opengis.parameter.ParameterDescriptor TGT_DIM
          The number of target geographic dimension (2 or 3).
static org.opengis.parameter.ParameterDescriptor TGT_SEMI_MAJOR
          The operation parameter descriptor for the "tgt_semi_major" optional parameter value.
static org.opengis.parameter.ParameterDescriptor TGT_SEMI_MINOR
          The operation parameter descriptor for the "tgt_semi_minor" optional 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 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
GeocentricTranslation.Provider()
          Constructs a default 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.
protected  void fill(BursaWolfParameters parameters, org.opengis.parameter.ParameterValueGroup values)
          Fill the specified Bursa-Wolf parameters according the specified values.
protected  java.lang.Class getOperationType()
          Returns the operation type.
 
Methods inherited from class org.geotools.referencing.operation.MathTransformProvider
createDescriptor, createDescriptorGroup, createOptionalDescriptor, doubleValue, ensureValidValues, formatWKT, 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
 
Methods inherited from class org.geotools.referencing.wkt.Formattable
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

SRC_DIM

public static final org.opengis.parameter.ParameterDescriptor SRC_DIM
The number of source geographic dimension (2 or 3). This is a Geotools-specific argument. If presents, an transform will be concatenated before the geocentric translation.


TGT_DIM

public static final org.opengis.parameter.ParameterDescriptor TGT_DIM
The number of target geographic dimension (2 or 3). This is a Geotools-specific argument. If presents, a transform will be concatenated after the geocentric translation.


SRC_SEMI_MAJOR

public static final org.opengis.parameter.ParameterDescriptor SRC_SEMI_MAJOR
The operation parameter descriptor for the "src_semi_major" optional parameter value. This is a Geotools-specific argument. If presents, an transform will be concatenated before the geocentric translation. Valid values range from 0 to infinity.


SRC_SEMI_MINOR

public static final org.opengis.parameter.ParameterDescriptor SRC_SEMI_MINOR
The operation parameter descriptor for the "src_semi_minor" optional parameter value. This is a Geotools-specific argument. If presents, an transform will be concatenated before the geocentric translation. Valid values range from 0 to infinity.


TGT_SEMI_MAJOR

public static final org.opengis.parameter.ParameterDescriptor TGT_SEMI_MAJOR
The operation parameter descriptor for the "tgt_semi_major" optional parameter value. This is a Geotools-specific argument. If presents, a transform will be concatenated after the geocentric translation. Valid values range from 0 to infinity.


TGT_SEMI_MINOR

public static final org.opengis.parameter.ParameterDescriptor TGT_SEMI_MINOR
The operation parameter descriptor for the "tgt_semi_minor" optional parameter value. This is a Geotools-specific argument. If presents, a transform will be concatenated after the geocentric translation. Valid values range from 0 to infinity.


DX

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

Constructor Detail

GeocentricTranslation.Provider

public GeocentricTranslation.Provider()
Constructs a default provider.

Method Detail

getOperationType

protected java.lang.Class getOperationType()
Returns the operation type.

Overrides:
getOperationType in class MathTransformProvider

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

fill

protected void fill(BursaWolfParameters parameters,
                    org.opengis.parameter.ParameterValueGroup values)
Fill the specified Bursa-Wolf parameters according the specified values. This method is invoked automatically by createMathTransform(org.opengis.parameter.ParameterValueGroup).



Copyright © GeoTools. All Rights Reserved.