|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@UML(identifier="CT_CoordinateTransformationAuthorityFactory", specification=OGC_01009) public interface CoordinateOperationAuthorityFactory
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.
Method Summary | |
---|---|
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. |
OperationMethod |
createOperationMethod(String code)
Creates an operation method from a single code. |
Methods inherited from interface AuthorityFactory |
---|
createObject, getAuthority, getAuthorityCodes, getDescriptionText |
Methods inherited from interface Factory |
---|
getVendor |
Method Detail |
---|
OperationMethod createOperationMethod(String code) throws NoSuchAuthorityCodeException, FactoryException
code
- Coded value for operation method.
NoSuchAuthorityCodeException
- if the specified code
was not found.
FactoryException
- if the object creation failed for some other reason.Departure from OGC/ISO specification:
This method has been added because OGC 01-009 does not define a factory method for creating such object.
@UML(identifier="createFromTransformationCode", specification=OGC_01009) CoordinateOperation createCoordinateOperation(String code) throws NoSuchAuthorityCodeException, FactoryException
code
- Coded value for coordinate operation.
NoSuchAuthorityCodeException
- if the specified code
was not found.
FactoryException
- if the object creation failed for some other reason.@UML(identifier="createFromCoordinateSystemCodes", specification=OGC_01009) Set<CoordinateOperation> createFromCoordinateReferenceSystemCodes(String sourceCRS, String targetCRS) throws NoSuchAuthorityCodeException, FactoryException
source
to
target
CRS if no such operations were explicitly defined in the authority database.
Computation of arbitrary operations can be performed by
CoordinateOperationFactory.createOperation(sourceCRS, targetCRS)
instead.
sourceCRS
- Coded value of source coordinate reference system.targetCRS
- Coded value of target coordinate reference system.
sourceCRS
to targetCRS
.
NoSuchAuthorityCodeException
- if a specified code was not found.
FactoryException
- if the object creation failed for some other reason.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |