| org.geotools.referencing.operation.AbstractCoordinateOperationFactory org.geotools.referencing.operation.DefaultCoordinateOperationFactory org.geotools.referencing.operation.AuthorityBackedFactory
AuthorityBackedFactory | public class AuthorityBackedFactory extends DefaultCoordinateOperationFactory implements OptionalFactory(Code) | | A
extended with the extra
informations provided by an
.
Such authority factory may help to find transformation paths not available otherwise (often
determined from empirical parameters). Authority factories can also provide additional
informations like the
,
and
.
When
(sourceCRS, targetCRS) is invoked,
AuthorityBackedFactory fetch the authority codes for source and target CRS and submits
them to the
through a call to its
(sourceCode, targetCode) method. If the
authority factory doesn't know about the specified CRS, then the default (standalone)
process from the super-class is used as a fallback.
since: 2.2 version: $Id: AuthorityBackedFactory.java 25485 2007-05-11 19:12:35Z desruisseaux $ author: Martin Desruisseaux |
Field Summary | |
final static int | PRIORITY The priority level for this factory. |
Constructor Summary | |
public | AuthorityBackedFactory() Creates a new factory backed by a default EPSG authority factory. | public | AuthorityBackedFactory(Hints userHints) Creates a new factory backed by an authority factory fetched using the specified hints. |
Method Summary | |
protected boolean | accept(CoordinateOperation operation) Returns
true if the specified operation is acceptable. | protected CoordinateOperation | createFromDatabase(CoordinateReferenceSystem sourceCRS, CoordinateReferenceSystem targetCRS) Returns an operation for conversion or transformation between two coordinate reference
systems. | protected CoordinateOperationAuthorityFactory | getAuthorityFactory() Returns the underlying coordinate operation authority factory. | public boolean | isAvailable() Returns
true if this factory and its underlying
are available for use. |
PRIORITY | final static int PRIORITY(Code) | | The priority level for this factory.
|
AuthorityBackedFactory | public AuthorityBackedFactory()(Code) | | Creates a new factory backed by a default EPSG authority factory.
This factory will uses a priority slightly higher than the
.
|
accept | protected boolean accept(CoordinateOperation operation)(Code) | | Returns
true if the specified operation is acceptable. This method is invoked
automatically by
(...)
for every operation candidates found. The default implementation returns always
true . Subclasses should override this method if they wish to filter the coordinate
operations to be returned.
since: 2.3 |
createFromDatabase | protected CoordinateOperation createFromDatabase(CoordinateReferenceSystem sourceCRS, CoordinateReferenceSystem targetCRS)(Code) | | Returns an operation for conversion or transformation between two coordinate reference
systems. The default implementation extracts the authority code from the supplied
sourceCRS and
targetCRS , and submit them to the
(sourceCode, targetCode) methods.
If no operation is found for those codes, then this method returns
null .
Note that this method may be invoked recursively. For example no operation may be available
from the
between two
, but an operation
may be available between two components of those compound CRS.
Parameters: sourceCRS - Input coordinate reference system. Parameters: targetCRS - Output coordinate reference system. A coordinate operation from sourceCRS to targetCRS , or null if no such operation is explicitly defined in the underlying database. since: 2.3 |
getAuthorityFactory | protected CoordinateOperationAuthorityFactory getAuthorityFactory()(Code) | | Returns the underlying coordinate operation authority factory.
|
isAvailable | public boolean isAvailable()(Code) | | Returns
true if this factory and its underlying
are available for use.
|
Fields inherited from org.geotools.referencing.operation.DefaultCoordinateOperationFactory | final static int PRIORITY(Code)(Java Doc)
|
Methods inherited from org.geotools.referencing.operation.DefaultCoordinateOperationFactory | protected CoordinateOperation createFromDatabase(CoordinateReferenceSystem sourceCRS, CoordinateReferenceSystem targetCRS)(Code)(Java Doc) public CoordinateOperation createOperation(CoordinateReferenceSystem sourceCRS, CoordinateReferenceSystem targetCRS) throws OperationNotFoundException, FactoryException(Code)(Java Doc) public CoordinateOperation createOperation(CoordinateReferenceSystem sourceCRS, CoordinateReferenceSystem targetCRS, OperationMethod method) throws OperationNotFoundException, FactoryException(Code)(Java Doc) protected CoordinateOperation createOperationStep(TemporalCRS sourceCRS, TemporalCRS targetCRS) throws FactoryException(Code)(Java Doc) protected CoordinateOperation createOperationStep(VerticalCRS sourceCRS, VerticalCRS targetCRS) throws FactoryException(Code)(Java Doc) protected CoordinateOperation createOperationStep(GeographicCRS sourceCRS, VerticalCRS targetCRS) throws FactoryException(Code)(Java Doc) protected CoordinateOperation createOperationStep(GeographicCRS sourceCRS, GeographicCRS targetCRS) throws FactoryException(Code)(Java Doc) protected CoordinateOperation createOperationStep(ProjectedCRS sourceCRS, ProjectedCRS targetCRS) throws FactoryException(Code)(Java Doc) protected CoordinateOperation createOperationStep(GeographicCRS sourceCRS, ProjectedCRS targetCRS) throws FactoryException(Code)(Java Doc) protected CoordinateOperation createOperationStep(ProjectedCRS sourceCRS, GeographicCRS targetCRS) throws FactoryException(Code)(Java Doc) protected CoordinateOperation createOperationStep(GeocentricCRS sourceCRS, GeocentricCRS targetCRS) throws FactoryException(Code)(Java Doc) protected CoordinateOperation createOperationStep(GeographicCRS sourceCRS, GeocentricCRS targetCRS) throws FactoryException(Code)(Java Doc) protected CoordinateOperation createOperationStep(GeocentricCRS sourceCRS, GeographicCRS targetCRS) throws FactoryException(Code)(Java Doc) protected CoordinateOperation createOperationStep(CompoundCRS sourceCRS, SingleCRS targetCRS) throws FactoryException(Code)(Java Doc) protected CoordinateOperation createOperationStep(SingleCRS sourceCRS, CompoundCRS targetCRS) throws FactoryException(Code)(Java Doc) protected CoordinateOperation createOperationStep(CompoundCRS sourceCRS, CompoundCRS targetCRS) throws FactoryException(Code)(Java Doc)
|
Fields inherited from org.geotools.referencing.operation.AbstractCoordinateOperationFactory | final protected static ReferenceIdentifier AXIS_CHANGES(Code)(Java Doc) final protected static ReferenceIdentifier DATUM_SHIFT(Code)(Java Doc) final protected static ReferenceIdentifier ELLIPSOID_SHIFT(Code)(Java Doc) final protected static ReferenceIdentifier GEOCENTRIC_CONVERSION(Code)(Java Doc) final protected static ReferenceIdentifier IDENTITY(Code)(Java Doc) final protected static ReferenceIdentifier INVERSE_OPERATION(Code)(Java Doc)
|
Methods inherited from org.geotools.referencing.operation.AbstractCoordinateOperationFactory | protected CoordinateOperation concatenate(CoordinateOperation step1, CoordinateOperation step2) throws FactoryException(Code)(Java Doc) protected CoordinateOperation concatenate(CoordinateOperation step1, CoordinateOperation step2, CoordinateOperation step3) throws FactoryException(Code)(Java Doc) public CoordinateOperation createConcatenatedOperation(Map properties, CoordinateOperation[] operations) throws FactoryException(Code)(Java Doc) public Conversion createDefiningConversion(Map properties, OperationMethod method, ParameterValueGroup parameters) throws FactoryException(Code)(Java Doc) protected CoordinateOperation createFromAffineTransform(ReferenceIdentifier name, CoordinateReferenceSystem sourceCRS, CoordinateReferenceSystem targetCRS, Matrix matrix) throws FactoryException(Code)(Java Doc) protected CoordinateOperation createFromMathTransform(ReferenceIdentifier name, CoordinateReferenceSystem sourceCRS, CoordinateReferenceSystem targetCRS, MathTransform transform) throws FactoryException(Code)(Java Doc) protected CoordinateOperation createFromMathTransform(Map properties, CoordinateReferenceSystem sourceCRS, CoordinateReferenceSystem targetCRS, MathTransform transform, OperationMethod method, Class type) throws FactoryException(Code)(Java Doc) protected CoordinateOperation createFromParameters(ReferenceIdentifier name, CoordinateReferenceSystem sourceCRS, CoordinateReferenceSystem targetCRS, ParameterValueGroup parameters) throws FactoryException(Code)(Java Doc) protected static void ensureNonNull(String name, Object object) throws IllegalArgumentException(Code)(Java Doc) static boolean equalsIgnoreMetadata(IdentifiedObject object1, IdentifiedObject object2)(Code)(Java Doc) static int getDimension(CoordinateReferenceSystem crs)(Code)(Java Doc) protected static String getErrorMessage(IdentifiedObject source, IdentifiedObject target)(Code)(Java Doc) final FactoryGroup getFactoryGroup()(Code)(Java Doc) public Map getImplementationHints()(Code)(Java Doc) final public MathTransformFactory getMathTransformFactory()(Code)(Java Doc) static Map getTemporaryName(IdentifiedObject source)(Code)(Java Doc) static Map getTemporaryName(CoordinateReferenceSystem source, CoordinateReferenceSystem target)(Code)(Java Doc) void initializeHints()(Code)(Java Doc) protected CoordinateOperation inverse(CoordinateOperation operation) throws NoninvertibleTransformException, FactoryException(Code)(Java Doc) protected Matrix swapAndScaleAxis(CoordinateSystem sourceCS, CoordinateSystem targetCS) throws OperationNotFoundException(Code)(Java Doc)
|
|
|