@UML(identifier="CT_CoordinateTransformationAuthorityFactory", specification=OGC_01009) public interface CoordinateOperationAuthorityFactory extends AuthorityFactory
Modifier and Type | Method and 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.
|
createObject, getAuthority, getAuthorityCodes, getDescriptionText
@UML(identifier="createFromTransformationCode", specification=OGC_01009) CoordinateOperation createCoordinateOperation(String code) throws NoSuchAuthorityCodeException, FactoryException
code
- Coded value for transformation.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.Copyright © 1996–2019 Geotools. All rights reserved.