Interface DatumAuthorityFactory
- All Superinterfaces:
AuthorityFactory
,Factory
- All Known Implementing Classes:
Abstract_URI_AuthorityFactory
,AbstractAuthorityMediator
,AbstractCachedAuthorityFactory
,AbstractEpsgFactory
,AbstractEpsgMediator
,AccessDialectEpsgFactory
,AllAuthoritiesFactory
,AnsiDialectEpsgFactory
,CachedAuthorityDecorator
,DirectEpsgFactory
,FactoryUsingAnsiSQL
,FactoryUsingSQL
,HsqlDialectEpsgMediator
,HTTP_AuthorityFactory
,HTTP_URI_AuthorityFactory
,LongitudeFirstEpsgDecorator
,LongitudeFirstFactory
,ManyAuthoritiesFactory
,PropertyAuthorityFactory
,ThreadedEpsgFactory
,ThreadedHsqlEpsgFactory
,ThreadedPostgreSQLEpsgFactory
,URN_AuthorityFactory
Creates datum objects using authority codes. External authorities are used to manage definitions
of objects used in this interface. The definitions of these objects are referenced using code strings. A commonly
used authority is EPSG, which is also used in the GeoTIFF standard.
- Since:
- GeoAPI 1.0
- Author:
- Martin Desruisseaux (IRD)
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptioncreateDatum
(String code) Returns an arbitrary datum from a code.createEllipsoid
(String code) Returns an ellipsoid from a code.createEngineeringDatum
(String code) Creates a engineering datum from a code.createGeodeticDatum
(String code) Returns a geodetic datum from a code.createImageDatum
(String code) Creates a image datum from a code.createPrimeMeridian
(String code) Returns a prime meridian from a code.createTemporalDatum
(String code) Creates a temporal datum from a code.createVerticalDatum
(String code) Creates a vertical datum from a code.Methods inherited from interface AuthorityFactory
createObject, getAuthority, getAuthorityCodes, getDescriptionText
-
Method Details
-
createDatum
Returns an arbitrary datum from a code. If the datum type is know at compile time, it is recommended to invoke the most precise method instead of this one (for examplecreateGeodeticDatum(code)
instead ofcreateDatum(code)
if the caller know he is asking for a geodetic datum).- Parameters:
code
- Value allocated by authority.- Returns:
- The datum for the given code.
- Throws:
NoSuchAuthorityCodeException
- if the specifiedcode
was not found.FactoryException
- if the object creation failed for some other reason.- See Also:
-
createEngineeringDatum
EngineeringDatum createEngineeringDatum(String code) throws NoSuchAuthorityCodeException, FactoryException Creates a engineering datum from a code.- Parameters:
code
- Value allocated by authority.- Returns:
- The datum for the given code.
- Throws:
NoSuchAuthorityCodeException
- if the specifiedcode
was not found.FactoryException
- if the object creation failed for some other reason.- See Also:
-
createImageDatum
Creates a image datum from a code.- Parameters:
code
- Value allocated by authority.- Returns:
- The datum for the given code.
- Throws:
NoSuchAuthorityCodeException
- if the specifiedcode
was not found.FactoryException
- if the object creation failed for some other reason.- See Also:
-
createVerticalDatum
VerticalDatum createVerticalDatum(String code) throws NoSuchAuthorityCodeException, FactoryException Creates a vertical datum from a code.- Parameters:
code
- Value allocated by authority.- Returns:
- The datum for the given code.
- Throws:
NoSuchAuthorityCodeException
- if the specifiedcode
was not found.FactoryException
- if the object creation failed for some other reason.- See Also:
-
createTemporalDatum
TemporalDatum createTemporalDatum(String code) throws NoSuchAuthorityCodeException, FactoryException Creates a temporal datum from a code.- Parameters:
code
- Value allocated by authority.- Returns:
- The datum for the given code.
- Throws:
NoSuchAuthorityCodeException
- if the specifiedcode
was not found.FactoryException
- if the object creation failed for some other reason.- See Also:
-
createGeodeticDatum
GeodeticDatum createGeodeticDatum(String code) throws NoSuchAuthorityCodeException, FactoryException Returns a geodetic datum from a code.- Parameters:
code
- Value allocated by authority.- Returns:
- The datum for the given code.
- Throws:
NoSuchAuthorityCodeException
- if the specifiedcode
was not found.FactoryException
- if the object creation failed for some other reason.- See Also:
-
createEllipsoid
Returns an ellipsoid from a code.- Parameters:
code
- Value allocated by authority.- Returns:
- The ellipsoid for the given code.
- Throws:
NoSuchAuthorityCodeException
- if the specifiedcode
was not found.FactoryException
- if the object creation failed for some other reason.- See Also:
-
createPrimeMeridian
PrimeMeridian createPrimeMeridian(String code) throws NoSuchAuthorityCodeException, FactoryException Returns a prime meridian from a code.- Parameters:
code
- Value allocated by authority.- Returns:
- The prime meridian for the given code.
- Throws:
NoSuchAuthorityCodeException
- if the specifiedcode
was not found.FactoryException
- if the object creation failed for some other reason.- See Also:
-