org.geotools.referencing.operation
Class DefaultConcatenatedOperation
java.lang.Object
org.geotools.referencing.wkt.Formattable
org.geotools.referencing.AbstractIdentifiedObject
org.geotools.referencing.operation.AbstractCoordinateOperation
org.geotools.referencing.operation.DefaultConcatenatedOperation
- All Implemented Interfaces:
- org.opengis.referencing.operation.ConcatenatedOperation, org.opengis.referencing.operation.CoordinateOperation, org.opengis.referencing.IdentifiedObject, java.io.Serializable
- public class DefaultConcatenatedOperation
- extends AbstractCoordinateOperation
- implements org.opengis.referencing.operation.ConcatenatedOperation
An ordered sequence of two or more single coordinate operations. The sequence of operations is
constrained by the requirement that the source coordinate reference system of step
(n+1) must be the same as the target coordinate reference system of step
(n). The source coordinate reference system of the first step and the target
coordinate reference system of the last step are the source and target coordinate reference
system associated with the concatenated operation.
- Since:
- 2.1
- Version:
- $Id: DefaultConcatenatedOperation.java 17672 2006-01-19 00:25:55Z desruisseaux $
- Author:
- Martin Desruisseaux
- See Also:
- Serialized Form
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 |
DefaultConcatenatedOperation(java.util.Map properties,
org.opengis.referencing.operation.CoordinateOperation[] operations)
Constructs a concatenated operation from a set of properties.
|
DefaultConcatenatedOperation(java.util.Map properties,
org.opengis.referencing.operation.CoordinateOperation[] operations,
org.opengis.referencing.operation.MathTransformFactory factory)
Constructs a concatenated operation from a set of properties and a
math transform factory.
|
DefaultConcatenatedOperation(java.lang.String name,
org.opengis.referencing.operation.CoordinateOperation[] operations)
Constructs a concatenated operation from the specified name. |
Method Summary |
boolean |
equals(AbstractIdentifiedObject object,
boolean compareMetadata)
Compare this concatenated operation with the specified object for equality.
|
java.util.List |
getOperations()
Returns the sequence of operations. |
int |
hashCode()
Returns a hash code value for this concatenated operation. |
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 java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.opengis.referencing.operation.CoordinateOperation |
getMathTransform, getOperationVersion, getPositionalAccuracy, getScope, getSourceCRS, getTargetCRS, getValidArea |
Methods inherited from interface org.opengis.referencing.IdentifiedObject |
getAlias, getIdentifiers, getName, getRemarks, toWKT |
DefaultConcatenatedOperation
public DefaultConcatenatedOperation(java.lang.String name,
org.opengis.referencing.operation.CoordinateOperation[] operations)
- Constructs a concatenated operation from the specified name.
- Parameters:
name
- The operation name.operations
- The sequence of operations.
DefaultConcatenatedOperation
public DefaultConcatenatedOperation(java.util.Map properties,
org.opengis.referencing.operation.CoordinateOperation[] operations)
- Constructs a concatenated operation 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"
.operations
- The sequence of operations.
DefaultConcatenatedOperation
public DefaultConcatenatedOperation(java.util.Map properties,
org.opengis.referencing.operation.CoordinateOperation[] operations,
org.opengis.referencing.operation.MathTransformFactory factory)
throws org.opengis.referencing.FactoryException
- Constructs a concatenated operation from a set of properties and a
math transform factory.
The properties given in argument follow the same rules than for the
AbstractCoordinateOperation
constructor.
- Parameters:
properties
- Set of properties. Should contains at least "name"
.operations
- The sequence of operations.factory
- The math transform factory to use for math transforms concatenation.
- Throws:
org.opengis.referencing.FactoryException
- if the factory can't concatenate the math transforms.
getOperations
public java.util.List getOperations()
- Returns the sequence of operations.
- Specified by:
getOperations
in interface org.opengis.referencing.operation.ConcatenatedOperation
equals
public boolean equals(AbstractIdentifiedObject object,
boolean compareMetadata)
- Compare this concatenated operation with the specified object for equality.
If is , then all available properties are
compared including valid area and scope.
- Overrides:
equals
in class AbstractCoordinateOperation
- Parameters:
object
- The object to compare to .compareMetadata
- for performing a strict comparaison, or
for comparing only properties relevant to transformations.
- Returns:
- if both objects are equal.
hashCode
public int hashCode()
- Returns a hash code value for this concatenated operation.
- Overrides:
hashCode
in class AbstractCoordinateOperation
Copyright © GeoTools. All Rights Reserved.