Interface CoordinateOperationAuthorityFactory
-
- All Superinterfaces:
AuthorityFactory
,Factory
- All Known Implementing Classes:
Abstract_URI_AuthorityFactory
,AbstractAuthorityMediator
,AbstractCachedAuthorityFactory
,AbstractEpsgFactory
,AbstractEpsgMediator
,AccessDialectEpsgFactory
,AllAuthoritiesFactory
,AnsiDialectEpsgFactory
,CachedAuthorityDecorator
,CoordinateOperationFactoryUsingWKT
,DirectEpsgFactory
,FactoryUsingAnsiSQL
,FactoryUsingSQL
,HsqlDialectEpsgMediator
,HTTP_AuthorityFactory
,HTTP_URI_AuthorityFactory
,LongitudeFirstEpsgDecorator
,LongitudeFirstFactory
,ManyAuthoritiesFactory
,PropertyCoordinateOperationAuthorityFactory
,ThreadedEpsgFactory
,ThreadedHsqlEpsgFactory
,ThreadedPostgreSQLEpsgFactory
,URN_AuthorityFactory
public interface CoordinateOperationAuthorityFactory extends AuthorityFactory
Creates coordinate transformation objects from codes. The codes are maintained by an external authority. A commonly used authority is EPSG, which is also used in the GeoTIFF standard.- Since:
- GeoAPI 1.0
- Author:
- Martin Desruisseaux (IRD)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CoordinateOperation
createCoordinateOperation(String code)
Creates an operation from a single operation code.Set<CoordinateOperation>
createFromCoordinateReferenceSystemCodes(String sourceCRS, String targetCRS)
Creates operations from coordinate reference system codes.-
Methods inherited from interface AuthorityFactory
createObject, getAuthority, getAuthorityCodes, getDescriptionText
-
-
-
-
Method Detail
-
createCoordinateOperation
CoordinateOperation createCoordinateOperation(String code) throws NoSuchAuthorityCodeException, FactoryException
Creates an operation from a single operation code. The "authority" and "code" values of the created object will be set to the authority of this object, and the code specified by the client, respectively. The other metadata values may or may not be set.- Parameters:
code
- Coded value for transformation.- Returns:
- The operation for the given code.
- Throws:
NoSuchAuthorityCodeException
- if the specifiedcode
was not found.FactoryException
- if the object creation failed for some other reason.
-
createFromCoordinateReferenceSystemCodes
Set<CoordinateOperation> createFromCoordinateReferenceSystemCodes(String sourceCRS, String targetCRS) throws NoSuchAuthorityCodeException, FactoryException
Creates operations from coordinate reference system codes. This method returns only the operations declared by the authority, with preferred operations first. This method doesn't need to compute operations fromsource
totarget
CRS if no such operations were explicitly defined in the authority database. Computation of arbitrary operations can be performed byCoordinateOperationFactory.createOperation(sourceCRS, targetCRS)
instead.- Parameters:
sourceCRS
- Coded value of source coordinate reference system.targetCRS
- Coded value of target coordinate reference system.- Returns:
- The operations from
sourceCRS
totargetCRS
. - Throws:
NoSuchAuthorityCodeException
- if a specified code was not found.FactoryException
- if the object creation failed for some other reason.
-
-