- All Superinterfaces:
AuthorityFactory
,Factory
@UML(identifier="CS_CoordinateSystemAuthorityFactory",
specification=OGC_01009)
public interface CRSAuthorityFactory
extends AuthorityFactory
Creates coordinate reference systems 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:
- 1.0
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptioncreateCompoundCRS
(String code) Creates a 3D coordinate reference system from a code.Returns an arbitrary coordinate reference system from a code.createDerivedCRS
(String code) Creates a derived coordinate reference system from a code.createEngineeringCRS
(String code) Create a engineering coordinate reference system from a code.createGeocentricCRS
(String code) Returns a geocentric coordinate reference system from a code.createGeographicCRS
(String code) Returns a geographic coordinate reference system from a code.createImageCRS
(String code) Create a image coordinate reference system from a code.createProjectedCRS
(String code) Returns a projected coordinate reference system from a code.createTemporalCRS
(String code) Create a temporal coordinate reference system from a code.createVerticalCRS
(String code) Create a vertical coordinate reference system from a code.Methods inherited from interface AuthorityFactory
createObject, getAuthority, getAuthorityCodes, getDescriptionText
-
Method Details
-
createCoordinateReferenceSystem
@UML(identifier="createHorizontalCoordinateSystem", specification=OGC_01009) CoordinateReferenceSystem createCoordinateReferenceSystem(String code) throws NoSuchAuthorityCodeException, FactoryException Returns an arbitrary coordinate reference system from a code. If the coordinate reference system type is know at compile time, it is recommended to invoke the most precise method instead of this one (for examplecreateGeographicCRS(code)
instead ofcreateCoordinateReferenceSystem(code)
if the caller know he is asking for a geographic coordinate reference system).- Parameters:
code
- Value allocated by authority.- Returns:
- The coordinate reference system for the given code.
- Throws:
NoSuchAuthorityCodeException
- if the specifiedcode
was not found.FactoryException
- if the object creation failed for some other reason.- See Also:
-
createCompoundCRS
@UML(identifier="createCompoundCoordinateSystem", specification=OGC_01009) CompoundCRS createCompoundCRS(String code) throws NoSuchAuthorityCodeException, FactoryException Creates a 3D coordinate reference system from a code.- Parameters:
code
- Value allocated by authority.- Returns:
- The coordinate reference system for the given code.
- Throws:
NoSuchAuthorityCodeException
- if the specifiedcode
was not found.FactoryException
- if the object creation failed for some other reason.
-
createDerivedCRS
Creates a derived coordinate reference system from a code.- Parameters:
code
- Value allocated by authority.- Returns:
- The coordinate reference system for the given code.
- Throws:
NoSuchAuthorityCodeException
- if the specifiedcode
was not found.FactoryException
- if the object creation failed for some other reason.
-
createEngineeringCRS
EngineeringCRS createEngineeringCRS(String code) throws NoSuchAuthorityCodeException, FactoryException Create a engineering coordinate reference system from a code.- Parameters:
code
- Value allocated by authority.- Returns:
- The coordinate reference system for the given code.
- Throws:
NoSuchAuthorityCodeException
- if the specifiedcode
was not found.FactoryException
- if the object creation failed for some other reason.
-
createGeographicCRS
@UML(identifier="createGeographicCoordinateSystem", specification=OGC_01009) GeographicCRS createGeographicCRS(String code) throws NoSuchAuthorityCodeException, FactoryException Returns a geographic coordinate reference system from a code.- Parameters:
code
- Value allocated by authority.- Returns:
- The coordinate reference system for the given code.
- Throws:
NoSuchAuthorityCodeException
- if the specifiedcode
was not found.FactoryException
- if the object creation failed for some other reason.- See Also:
-
createGeocentricCRS
GeocentricCRS createGeocentricCRS(String code) throws NoSuchAuthorityCodeException, FactoryException Returns a geocentric coordinate reference system from a code.- Parameters:
code
- Value allocated by authority.- Returns:
- The coordinate reference system for the given code.
- Throws:
NoSuchAuthorityCodeException
- if the specifiedcode
was not found.FactoryException
- if the object creation failed.- See Also:
-
createImageCRS
Create a image coordinate reference system from a code.- Parameters:
code
- Value allocated by authority.- Returns:
- The coordinate reference system for the given code.
- Throws:
NoSuchAuthorityCodeException
- if the specifiedcode
was not found.FactoryException
- if the object creation failed for some other reason.
-
createProjectedCRS
@UML(identifier="createProjectedCoordinateSystem", specification=OGC_01009) ProjectedCRS createProjectedCRS(String code) throws NoSuchAuthorityCodeException, FactoryException Returns a projected coordinate reference system from a code.- Parameters:
code
- Value allocated by authority.- Returns:
- The coordinate reference system for the given code.
- Throws:
NoSuchAuthorityCodeException
- if the specifiedcode
was not found.FactoryException
- if the object creation failed for some other reason.- See Also:
-
createTemporalCRS
Create a temporal coordinate reference system from a code.- Parameters:
code
- Value allocated by authority.- Returns:
- The coordinate reference system for the given code.
- Throws:
NoSuchAuthorityCodeException
- if the specifiedcode
was not found.FactoryException
- if the object creation failed for some other reason.- See Also:
-
createVerticalCRS
@UML(identifier="createVerticalCoordinateSystem", specification=OGC_01009) VerticalCRS createVerticalCRS(String code) throws NoSuchAuthorityCodeException, FactoryException Create a vertical coordinate reference system from a code.- Parameters:
code
- Value allocated by authority.- Returns:
- The coordinate reference system for the given code.
- Throws:
NoSuchAuthorityCodeException
- if the specifiedcode
was not found.FactoryException
- if the object creation failed for some other reason.- See Also:
-