- All Superinterfaces:
- AuthorityFactory,- Factory
Creates coordinate 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:
- Departure from OGC/ISO abstract specification:
- Departure for historical reasonAdded for consistency with CRS and datum factories. This CS factory was not defined in the OGC specification because OGC 01-009 was created before ISO 19111 and had no equivalent of the ISO Coordinate System types.
- 
Method SummaryModifier and TypeMethodDescriptioncreateCartesianCS(String code) Creates a cartesian coordinate system from a code.createCoordinateSystem(String code) Returns an arbitrary coordinate system from a code.Returns a coordinate system axis from a code.createCylindricalCS(String code) Creates a cylindrical coordinate system from a code.createEllipsoidalCS(String code) Creates an ellipsoidal coordinate system from a code.createPolarCS(String code) Creates a polar coordinate system from a code.createSphericalCS(String code) Creates a spherical coordinate system from a code.createTimeCS(String code) Creates a temporal coordinate system from a code.Unit<?>createUnit(String code) Returns an unit from a code.createVerticalCS(String code) Creates a vertical coordinate system from a code.Methods inherited from interface AuthorityFactorycreateObject, getAuthority, getAuthorityCodes, getDescriptionText
- 
Method Details- 
createCoordinateSystemCoordinateSystem createCoordinateSystem(String code) throws NoSuchAuthorityCodeException, FactoryException Returns an arbitrary coordinate system from a code. If the coordinate system type is know at compile time, it is recommended to invoke the most precise method instead of this one (for examplecreateCartesianCS(code)instead ofcreateCoordinateSystem(code)if the caller know he is asking for a cartesian coordinate system).- Parameters:
- code- Value allocated by authority.
- Returns:
- The coordinate system for the given code.
- Throws:
- NoSuchAuthorityCodeException- if the specified- codewas not found.
- FactoryException- if the object creation failed for some other reason.
 
- 
createCartesianCSCreates a cartesian coordinate system from a code.- Parameters:
- code- Value allocated by authority.
- Returns:
- The coordinate system for the given code.
- Throws:
- NoSuchAuthorityCodeException- if the specified- codewas not found.
- FactoryException- if the object creation failed for some other reason.
 
- 
createPolarCSCreates a polar coordinate system from a code.- Parameters:
- code- Value allocated by authority.
- Returns:
- The coordinate system for the given code.
- Throws:
- NoSuchAuthorityCodeException- if the specified- codewas not found.
- FactoryException- if the object creation failed for some other reason.
 
- 
createCylindricalCSCylindricalCS createCylindricalCS(String code) throws NoSuchAuthorityCodeException, FactoryException Creates a cylindrical coordinate system from a code.- Parameters:
- code- Value allocated by authority.
- Returns:
- The coordinate system for the given code.
- Throws:
- NoSuchAuthorityCodeException- if the specified- codewas not found.
- FactoryException- if the object creation failed for some other reason.
 
- 
createSphericalCSCreates a spherical coordinate system from a code.- Parameters:
- code- Value allocated by authority.
- Returns:
- The coordinate system for the given code.
- Throws:
- NoSuchAuthorityCodeException- if the specified- codewas not found.
- FactoryException- if the object creation failed for some other reason.
 
- 
createEllipsoidalCSEllipsoidalCS createEllipsoidalCS(String code) throws NoSuchAuthorityCodeException, FactoryException Creates an ellipsoidal coordinate system from a code.- Parameters:
- code- Value allocated by authority.
- Returns:
- The coordinate system for the given code.
- Throws:
- NoSuchAuthorityCodeException- if the specified- codewas not found.
- FactoryException- if the object creation failed for some other reason.
 
- 
createVerticalCSCreates a vertical coordinate system from a code.- Parameters:
- code- Value allocated by authority.
- Returns:
- The coordinate system for the given code.
- Throws:
- NoSuchAuthorityCodeException- if the specified- codewas not found.
- FactoryException- if the object creation failed for some other reason.
 
- 
createTimeCSCreates a temporal coordinate system from a code.- Parameters:
- code- Value allocated by authority.
- Returns:
- The coordinate system for the given code.
- Throws:
- NoSuchAuthorityCodeException- if the specified- codewas not found.
- FactoryException- if the object creation failed for some other reason.
 
- 
createCoordinateSystemAxisCoordinateSystemAxis createCoordinateSystemAxis(String code) throws NoSuchAuthorityCodeException, FactoryException Returns a coordinate system axis from a code.- Parameters:
- code- Value allocated by authority.
- Returns:
- The axis for the given code.
- Throws:
- NoSuchAuthorityCodeException- if the specified- codewas not found.
- FactoryException- if the object creation failed for some other reason.
 
- 
createUnit@UML(identifier="CS_CoordinateSystemAuthorityFactory.createLinearUnit, createAngularUnit", specification=OGC_01009) Unit<?> createUnit(String code) throws NoSuchAuthorityCodeException, FactoryException Returns an unit from a code.- Parameters:
- code- Value allocated by authority.
- Returns:
- The unit for the given code.
- Throws:
- NoSuchAuthorityCodeException- if the specified- codewas not found.
- FactoryException- if the object creation failed for some other reason.
 
 
-