public class BufferedCoordinateOperationFactory extends AbstractCoordinateOperationFactory implements BufferedFactory
In most cases, users should not need to create an instance of this class explicitly. An
instance of BufferedCoordinateOperationFactory
should be automatically registered and
returned by ReferencingFactoryFinder
in default Geotools configuration.
AXIS_CHANGES, DATUM_SHIFT, ELLIPSOID_SHIFT, GEOCENTRIC_CONVERSION, IDENTITY, INVERSE_OPERATION
LOGGER
hints, MAXIMUM_PRIORITY, MINIMUM_PRIORITY, NORMAL_PRIORITY, priority
Constructor and Description |
---|
BufferedCoordinateOperationFactory()
Creates a buffered factory wrapping the default one.
|
BufferedCoordinateOperationFactory(CoordinateOperationFactory factory,
int priority)
Wraps the specified factory.
|
BufferedCoordinateOperationFactory(Hints userHints)
Creates a buffered factory wrapping an other factory selected according the specified hints.
|
BufferedCoordinateOperationFactory(Hints userHints,
int priority)
Creates a buffered factory wrapping an other factory selected according the specified hints.
|
Modifier and Type | Method and Description |
---|---|
CoordinateOperation |
createOperation(CoordinateReferenceSystem sourceCRS,
CoordinateReferenceSystem targetCRS)
Returns an operation for conversion or transformation between two coordinate reference
systems.
|
CoordinateOperation |
createOperation(CoordinateReferenceSystem sourceCRS,
CoordinateReferenceSystem targetCRS,
OperationMethod method)
Deprecated.
Will be removed.
|
Set<CoordinateOperation> |
findOperations(CoordinateReferenceSystem sourceCRS,
CoordinateReferenceSystem targetCRS)
Returns all available operations for conversion or transformation between two coordinate
reference systems.
|
concatenate, concatenate, concatenate, concatenate, createConcatenatedOperation, createDefiningConversion, createFromAffineTransform, createFromMathTransform, createFromMathTransform, createFromParameters, ensureNonNull, getErrorMessage, getImplementationHints, getMathTransformFactory, inverse, swapAndScaleAxis
getVendor
addImplementationHints, equals, getPriority, hashCode, onDeregistration, onRegistration, toString
getImplementationHints
public BufferedCoordinateOperationFactory()
public BufferedCoordinateOperationFactory(Hints userHints)
userHints
- The hints to use for choosing a backing factory.public BufferedCoordinateOperationFactory(Hints userHints, int priority)
userHints
- The hints to use for choosing a backing factory.priority
- The priority for this factory, as a number between MINIMUM_PRIORITY
and MAXIMUM_PRIORITY
inclusive.public BufferedCoordinateOperationFactory(CoordinateOperationFactory factory, int priority)
factory
- The factory to wrap.priority
- The priority for this factory, as a number between MINIMUM_PRIORITY
and MAXIMUM_PRIORITY
inclusive.public CoordinateOperation createOperation(CoordinateReferenceSystem sourceCRS, CoordinateReferenceSystem targetCRS) throws OperationNotFoundException, FactoryException
createOperation
in interface CoordinateOperationFactory
sourceCRS
- Input coordinate reference system.targetCRS
- Output coordinate reference system.sourceCRS
to targetCRS
.OperationNotFoundException
- if no operation path was found from sourceCRS
to
targetCRS
.FactoryException
- if the operation creation failed for some other reason.public Set<CoordinateOperation> findOperations(CoordinateReferenceSystem sourceCRS, CoordinateReferenceSystem targetCRS) throws FactoryException
findOperations
in interface CoordinateOperationFactory
sourceCRS
- Input coordinate reference system.targetCRS
- Output coordinate reference system.sourceCRS
to targetCRS
.FactoryException
- if there was a failure retrieving or creating the operations.public CoordinateOperation createOperation(CoordinateReferenceSystem sourceCRS, CoordinateReferenceSystem targetCRS, OperationMethod method) throws OperationNotFoundException, FactoryException
createOperation
in interface CoordinateOperationFactory
sourceCRS
- Input coordinate reference system.targetCRS
- Output coordinate reference system.method
- The algorithmic method for conversion or transformation.sourceCRS
to targetCRS
.OperationNotFoundException
- if no operation path was found from sourceCRS
to
targetCRS
.FactoryException
- if the operation creation failed for some other reason.Copyright © 1996–2019 Geotools. All rights reserved.