GeoAPI 1.0
Build 2004-05-18

org.opengis.referencing.operation
Interface CoordinateOperationAuthorityFactory

All Superinterfaces:
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.

Version:
Implementation specification 1.0
Author:
OpenGIS® consortium
UML identifier (abstract type): CT_CoordinateTransformationAuthorityFactory

Method Summary
 CoordinateOperation createCoordinateOperation(String code)
          Creates an operation from a single operation code.
 CoordinateOperation createFromCoordinateReferenceSystemCodes(String sourceCode, String targetCode)
          Creates an operation from coordinate reference system codes.
 
Methods inherited from interface AuthorityFactory
createObject, getAuthority, getAuthorityCodes, getDescriptionText, getFactory
 

Method Detail

createCoordinateOperation

CoordinateOperation createCoordinateOperation(String code)
                                              throws 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.
Throws:
NoSuchAuthorityCodeException - if the specified code was not found.
FactoryException - if the object creation failed for some other reason.
UML identifier (operation): createFromTransformationCode  in 1.0 specification

createFromCoordinateReferenceSystemCodes

CoordinateOperation createFromCoordinateReferenceSystemCodes(String sourceCode,
                                                             String targetCode)
                                                             throws FactoryException
Creates an operation from coordinate reference system codes.

Parameters:
sourceCode - Coded value of source coordinate reference system.
targetCode - Coded value of target coordinate reference system.
Throws:
NoSuchAuthorityCodeException - if a specified code was not found.
FactoryException - if the object creation failed for some other reason.
UML identifier (operation): createFromCoordinateSystemCodes  in 1.0 specification

GeoAPI 1.0
Build 2004-05-18

Symbols, terms and definitions
Copyright OpenGIS® Consortium