org.geotools.referencing.operation
Class DefiningConversion

java.lang.Object
  extended byorg.geotools.referencing.wkt.Formattable
      extended byorg.geotools.referencing.AbstractIdentifiedObject
          extended byorg.geotools.referencing.operation.AbstractCoordinateOperation
              extended byorg.geotools.referencing.operation.DefaultSingleOperation
                  extended byorg.geotools.referencing.operation.DefaultOperation
                      extended byorg.geotools.referencing.operation.DefaultConversion
                          extended byorg.geotools.referencing.operation.DefiningConversion
All Implemented Interfaces:
org.opengis.referencing.operation.Conversion, org.opengis.referencing.operation.CoordinateOperation, org.opengis.referencing.IdentifiedObject, org.opengis.referencing.operation.Operation, java.io.Serializable, org.opengis.referencing.operation.SingleOperation

public class DefiningConversion
extends DefaultConversion

A conversion used for the definition of a derived CRS (including projections). This conversion has no source and target CRS, and no math transform. Those elements are created by the derived CRS itself.

Since:
2.1
Version:
$Id: DefiningConversion.java 17672 2006-01-19 00:25:55Z desruisseaux $
Author:
Martin Desruisseaux, Matthias Basler
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.geotools.referencing.operation.DefaultOperation
method
 
Fields inherited from class org.geotools.referencing.operation.AbstractCoordinateOperation
EMPTY_ACCURACY_ARRAY, sourceCRS, targetCRS, transform, validArea
 
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.CoordinateOperation
OPERATION_VERSION_KEY, POSITIONAL_ACCURACY_KEY, SCOPE_KEY, VALID_AREA_KEY
 
Fields inherited from interface org.opengis.referencing.IdentifiedObject
ALIAS_KEY, IDENTIFIERS_KEY, NAME_KEY, REMARKS_KEY
 
Constructor Summary
DefiningConversion(java.util.Map properties, org.opengis.referencing.operation.OperationMethod method, org.opengis.parameter.ParameterValueGroup parameters)
          Constructs a conversion from a set of properties.
DefiningConversion(java.lang.String name, org.opengis.parameter.ParameterValueGroup parameters)
          Convenience constructor for creating a defining conversion with a default operation method.
 
Method Summary
 org.opengis.parameter.ParameterValueGroup getParameterValues()
          Returns the parameter values.
 
Methods inherited from class org.geotools.referencing.operation.DefaultConversion
create
 
Methods inherited from class org.geotools.referencing.operation.DefaultOperation
create, equals, getMethod, hashCode
 
Methods inherited from class org.geotools.referencing.operation.AbstractCoordinateOperation
formatWKT, getAccuracy, getAccuracy, getMathTransform, getOperationVersion, getPositionalAccuracy, getScope, getSourceCRS, getTargetCRS, getType, getValidArea
 
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.operation.Conversion
getOperationVersion
 
Methods inherited from interface org.opengis.referencing.operation.Operation
getMethod
 
Methods inherited from interface org.opengis.referencing.operation.CoordinateOperation
getMathTransform, getPositionalAccuracy, getScope, getSourceCRS, getTargetCRS, getValidArea
 
Methods inherited from interface org.opengis.referencing.IdentifiedObject
getAlias, getIdentifiers, getName, getRemarks, toWKT
 

Constructor Detail

DefiningConversion

public DefiningConversion(java.lang.String name,
                          org.opengis.parameter.ParameterValueGroup parameters)
Convenience constructor for creating a defining conversion with a default operation method. The operation method is assumed two-dimensional.

Parameters:
name - The conversion name.
parameters - The parameter values.
Since:
2.2

DefiningConversion

public DefiningConversion(java.util.Map properties,
                          org.opengis.referencing.operation.OperationMethod method,
                          org.opengis.parameter.ParameterValueGroup parameters)
Constructs a conversion from a set of properties. The properties given in argument follow the same rules than for the AbstractCoordinateOperation constructor.

Parameters:
properties - Set of properties. Should contains at least "name".
method - The operation method.
parameters - The parameter values.
Method Detail

getParameterValues

public org.opengis.parameter.ParameterValueGroup getParameterValues()
Returns the parameter values.

Specified by:
getParameterValues in interface org.opengis.referencing.operation.Operation
Overrides:
getParameterValues in class DefaultOperation
See Also:
DefaultMathTransformFactory.createParameterizedTransform(org.opengis.parameter.ParameterValueGroup), AbstractMathTransform.getParameterValues()


Copyright © GeoTools. All Rights Reserved.